changeset 1313:f9f2c92969d2

(issue161) Set do-changes icon also on windows when UAC shield is not neccessary.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 13 Oct 2014 15:17:15 +0200
parents b0bdccc4ee2d
children 5f4e77acb2f3
files ui/mainwindow.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ui/mainwindow.cpp	Mon Oct 13 14:32:55 2014 +0200
+++ b/ui/mainwindow.cpp	Mon Oct 13 15:17:15 2014 +0200
@@ -788,6 +788,8 @@
     if (is_system_install()) {
         QIcon uacShield = QApplication::style()->standardIcon(QStyle::SP_VistaShield);
         mInstallButton->setIcon(uacShield);
+    } else {
+        mInstallButton->setIcon(QIcon(":/img/do-changes-16.png"));
     }
 #else
     mInstallButton->setIcon(QIcon(":/img/do-changes-16.png"));

http://wald.intevation.org/projects/trustbridge/