Mercurial > trustbridge
comparison ui/mainwindow.cpp @ 1211:b64f847bde09
(issue121) icon, new version for the do-changes button.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Tue, 23 Sep 2014 20:44:31 +0200 |
parents | 3815a0d2017b |
children | 1171a4778562 |
comparison
equal
deleted
inserted
replaced
1210:c339dd33c311 | 1211:b64f847bde09 |
---|---|
711 if (is_system_install()) { | 711 if (is_system_install()) { |
712 QIcon uacShield = QApplication::style()->standardIcon(QStyle::SP_VistaShield); | 712 QIcon uacShield = QApplication::style()->standardIcon(QStyle::SP_VistaShield); |
713 mInstallButton->setIcon(uacShield); | 713 mInstallButton->setIcon(uacShield); |
714 } | 714 } |
715 #else | 715 #else |
716 mInstallButton->setIcon(QIcon(":/img/view-refresh_16px.png")); | 716 mInstallButton->setIcon(QIcon(":/img/do-changes-16.png")); |
717 #endif | 717 #endif |
718 connect(mQuitButton, SIGNAL(clicked()), this, SLOT(closeApp())); | 718 connect(mQuitButton, SIGNAL(clicked()), this, SLOT(closeApp())); |
719 connect(mInstallButton, SIGNAL(clicked()), this, SLOT(checkAndInstallCerts())); | 719 connect(mInstallButton, SIGNAL(clicked()), this, SLOT(checkAndInstallCerts())); |
720 | 720 |
721 updatesHeaderActionButtonLayout->addWidget(mInstallButton); | 721 updatesHeaderActionButtonLayout->addWidget(mInstallButton); |