Mercurial > retraceit
comparison 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 |
comparison
equal
deleted
inserted
replaced
49:60cee4bdee5b | 50:07744e276579 |
---|---|
43 | 43 |
44 setupGUI(); | 44 setupGUI(); |
45 readSettings(); | 45 readSettings(); |
46 setAcceptDrops(true); | 46 setAcceptDrops(true); |
47 setupShortcuts(); | 47 setupShortcuts(); |
48 //QIcon windowIcon = QIcon(":/icon-64.png"); | 48 #ifndef Q_OS_WIN |
49 //setWindowIcon(windowIcon); | 49 QIcon windowIcon = QIcon(":/icon-64.png"); |
50 | 50 setWindowIcon(windowIcon); |
51 #endif | |
51 } | 52 } |
52 | 53 |
53 void MainWindow::setupGUI() { | 54 void MainWindow::setupGUI() { |
54 QTabWidget *tabWidget = new QTabWidget; | 55 QTabWidget *tabWidget = new QTabWidget; |
55 mDataView = new MetaDataView(this); | 56 mDataView = new MetaDataView(this); |