comparison 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
comparison
equal deleted inserted replaced
364:dc4efb0a70cb 365:75f7288ad67b
44 QApplication::setOrganizationName(QString::fromLatin1(ORGANIZATION)); 44 QApplication::setOrganizationName(QString::fromLatin1(ORGANIZATION));
45 QApplication::setApplicationName(QString::fromLatin1(APPNAME)); 45 QApplication::setApplicationName(QString::fromLatin1(APPNAME));
46 QApplication::setApplicationVersion(QString::fromLatin1(VERSION)); 46 QApplication::setApplicationVersion(QString::fromLatin1(VERSION));
47 QSettings::setDefaultFormat(QSettings::IniFormat); 47 QSettings::setDefaultFormat(QSettings::IniFormat);
48 48
49 MainWindow mainWin; 49 MainWindow mainWin(trayMode);
50 if (!trayMode) {
51 mainWin.show();
52 }
53 50
54 return app.exec(); 51 return app.exec();
55 } 52 }

http://wald.intevation.org/projects/trustbridge/