diff ui/trayicon.cpp @ 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 a4282bc67a8b
children
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/