[PATCH] (issue161) Set do-changes icon also on windows when UAC shield is not neccessary
Wald Commits
scm-commit at wald.intevation.org
Mon Oct 13 15:17:19 CEST 2014
# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1413206235 -7200
# Node ID f9f2c92969d2fd4e3da91edacbd2e0ec8f0b5ff5
# Parent b0bdccc4ee2dd2e8cf85a6876eda377cab7b7902
(issue161) Set do-changes icon also on windows when UAC shield is not neccessary.
diff -r b0bdccc4ee2d -r f9f2c92969d2 ui/mainwindow.cpp
--- 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"));
More information about the Trustbridge-commits
mailing list