comparison 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
comparison
equal deleted inserted replaced
49:60cee4bdee5b 50:07744e276579
44 setupGUI(); 44 setupGUI();
45 if (mShowPathSelection) { 45 if (mShowPathSelection) {
46 mPathLabel->setText("<b>" + pathLabel + ":</b> "); 46 mPathLabel->setText("<b>" + pathLabel + ":</b> ");
47 } 47 }
48 setFolder(mCurFolder); 48 setFolder(mCurFolder);
49 #ifndef Q_OS_WIN
50 QIcon windowIcon = QIcon(":/icon-64.png");
51 setWindowIcon(windowIcon);
52 #endif
49 } 53 }
50 54
51 void FolderSelectDialog::setupGUI() { 55 void FolderSelectDialog::setupGUI() {
52 QVBoxLayout *base = new QVBoxLayout; 56 QVBoxLayout *base = new QVBoxLayout;
53 QHBoxLayout *folderChangeArea = new QHBoxLayout; 57 QHBoxLayout *folderChangeArea = new QHBoxLayout;
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)