diff src/mainwindow.cpp @ 50:07744e276579

Add icon also for non Windows systems
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 07 May 2015 10:37:07 +0200
parents 73e6b6b12412
children 016cbcb1a233
line wrap: on
line diff
--- a/src/mainwindow.cpp	Thu May 07 10:23:19 2015 +0200
+++ b/src/mainwindow.cpp	Thu May 07 10:37:07 2015 +0200
@@ -45,9 +45,10 @@
     readSettings();
     setAcceptDrops(true);
     setupShortcuts();
-    //QIcon windowIcon = QIcon(":/icon-64.png");
-    //setWindowIcon(windowIcon);
-
+#ifndef Q_OS_WIN
+    QIcon windowIcon = QIcon(":/icon-64.png");
+    setWindowIcon(windowIcon);
+#endif
 }
 
 void MainWindow::setupGUI() {
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)