diff ui/mainwindow.cpp @ 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 135891f1c8f4
children dd3eefda8503
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/