comparison src/main.cpp @ 31:749ecdfd036a

Store ini file in relayit folder (using organization name)
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 06 May 2015 15:30:47 +0200
parents 64a51a42c01f
children a9a343271490
comparison
equal deleted inserted replaced
30:c09d38033fde 31:749ecdfd036a
103 int realMain(int argc, char **argv) 103 int realMain(int argc, char **argv)
104 { 104 {
105 /* QApplication setup */ 105 /* QApplication setup */
106 QApplication app (argc, argv); 106 QApplication app (argc, argv);
107 QApplication::setQuitOnLastWindowClosed(true); 107 QApplication::setQuitOnLastWindowClosed(true);
108 QApplication::setOrganizationName(QString::fromLatin1(ORGANIZATION)); 108 QApplication::setOrganizationName(QString::fromLatin1(APPNAME));
109 QApplication::setApplicationName(QString::fromLatin1(APPNAME)); 109 QApplication::setApplicationName(QString::fromLatin1(APPNAME));
110 QApplication::setApplicationVersion(QString::fromLatin1(VERSION)); 110 QApplication::setApplicationVersion(QString::fromLatin1(VERSION));
111 QSettings::setDefaultFormat(QSettings::IniFormat); 111 QSettings::setDefaultFormat(QSettings::IniFormat);
112 112
113 /* Setup translations */ 113 /* Setup translations */
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)