diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-05-21 19:34:03 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-21 19:34:03 -0700 |
commit | 238c80a70888f6f1850083205e2177d71254c0ae (patch) | |
tree | 5242b9a4eec12b71789d57f3787a00c9330eec0e /qt-gui.cpp | |
parent | 1752257fbb527fb09fa34e83be4a59caddc95cd2 (diff) | |
parent | f7c78a20bd21d9bcd9f814c53fac683f5ff1f66a (diff) | |
download | subsurface-238c80a70888f6f1850083205e2177d71254c0ae.tar.gz |
Merge branch 'microFixes' of https://github.com/tcanabrava/subsurface
Diffstat (limited to 'qt-gui.cpp')
-rw-r--r-- | qt-gui.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qt-gui.cpp b/qt-gui.cpp index dfc1df19d..aa4765fe5 100644 --- a/qt-gui.cpp +++ b/qt-gui.cpp @@ -61,6 +61,9 @@ const char *existing_filename; void init_qt_ui(int *argcp, char ***argvp) { application->installTranslator(new Translator(application)); + QCoreApplication::setOrganizationName("hohndel"); + QCoreApplication::setOrganizationDomain("hohndel.org"); + QCoreApplication::setApplicationName("Subsurface"); MainWindow *window = new MainWindow(); window->show(); } @@ -78,7 +81,7 @@ void init_ui(int *argcp, char ***argvp) QTextCodec::setCodecForCStrings(QTextCodec::codecForMib(106)); #endif - QSettings settings("hohndel.org","subsurface"); + QSettings settings; settings.beginGroup("GeneralSettings"); v = settings.value(QString("default_filename")); if (v.isValid()) { |