summaryrefslogtreecommitdiffstats
path: root/qt-gui.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-21 23:07:19 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-21 23:07:19 -0300
commit3fdea49e706a147e4f714e5642993169f7a7e8dc (patch)
tree39580009e462d4aeeb8f06a62d5e2b6a1ae45591 /qt-gui.cpp
parent37ada91000dc14e0d154e1a3f4fd7f1f842ce956 (diff)
downloadsubsurface-3fdea49e706a147e4f714e5642993169f7a7e8dc.tar.gz
Fixed the hide / show columns using the settings.
This also changed a bit the behavior on how the QSettings are managed, till now, we used the QSettings constructor passing the name of the software and the 'company', but this is now default - so there's no need to pass anything by the QSettings contructor. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-gui.cpp')
-rw-r--r--qt-gui.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-gui.cpp b/qt-gui.cpp
index dfc1df19d..3705c6040 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();
}