diff src/folderselectdialog.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 213d9163dab0
children de148cd023a1
line wrap: on
line diff
--- a/src/folderselectdialog.cpp	Thu May 07 10:23:19 2015 +0200
+++ b/src/folderselectdialog.cpp	Thu May 07 10:37:07 2015 +0200
@@ -46,6 +46,10 @@
         mPathLabel->setText("<b>" + pathLabel + ":</b>   ");
     }
     setFolder(mCurFolder);
+#ifndef Q_OS_WIN
+    QIcon windowIcon = QIcon(":/icon-64.png");
+    setWindowIcon(windowIcon);
+#endif
 }
 
 void FolderSelectDialog::setupGUI() {
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)