changeset 1314:5f4e77acb2f3

(issue155) Use the logo as the window icon.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 13 Oct 2014 16:10:18 +0200
parents f9f2c92969d2
children 12ed0b72e9f5
files ui/trayicon.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ui/trayicon.cpp	Mon Oct 13 15:17:15 2014 +0200
+++ b/ui/trayicon.cpp	Mon Oct 13 16:10:18 2014 +0200
@@ -51,7 +51,8 @@
         connect(mMessageBox, SIGNAL(destroyed()), this, SLOT(messageDestroyed()));
     }
     mMessageBox->setIconPixmap(icon().pixmap(mMessageBox->iconPixmap().size()));
-    mMessageBox->setWindowIcon(icon());
+    mMessageBox->setWindowIcon(QIcon(":/img/logo.png"));
+
     if (!okBtnText.isEmpty()) {
         mMessageBox->button(QMessageBox::Ok)->setText (okBtnText);
     } else {

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