Mercurial > trustbridge
diff ui/main.cpp @ 365:75f7288ad67b
Switch from listupdatedialog to installwrapper. Minor UI improvements
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 14 Apr 2014 16:59:08 +0000 |
parents | 3349c9596043 |
children | 17e1c8f37d72 |
line wrap: on
line diff
--- a/ui/main.cpp Mon Apr 14 16:58:20 2014 +0000 +++ b/ui/main.cpp Mon Apr 14 16:59:08 2014 +0000 @@ -46,10 +46,7 @@ QApplication::setApplicationVersion(QString::fromLatin1(VERSION)); QSettings::setDefaultFormat(QSettings::IniFormat); - MainWindow mainWin; - if (!trayMode) { - mainWin.show(); - } + MainWindow mainWin(trayMode); return app.exec(); }