diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2016-08-11 11:52:49 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-08-27 11:40:45 -0700 |
commit | a1b22797cac64925cd8a8a06b176aa40b99c1fc1 (patch) | |
tree | 37c8d35dfcf3a546dba4ee9832b73d741783bc18 /desktop-widgets/preferences/preferencesdialog.cpp | |
parent | 9299e3c42b4834f292cb85bbdcd05e581a3dfb9b (diff) | |
download | subsurface-a1b22797cac64925cd8a8a06b176aa40b99c1fc1.tar.gz |
Settings update: Remove uneeded includes
and comment out questionable code.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/preferences/preferencesdialog.cpp')
-rw-r--r-- | desktop-widgets/preferences/preferencesdialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/desktop-widgets/preferences/preferencesdialog.cpp b/desktop-widgets/preferences/preferencesdialog.cpp index 01d0aace4..3b92dff5e 100644 --- a/desktop-widgets/preferences/preferencesdialog.cpp +++ b/desktop-widgets/preferences/preferencesdialog.cpp @@ -16,7 +16,6 @@ #include <QStackedWidget> #include <QDialogButtonBox> #include <QAbstractButton> -#include <QSettings> #include <QDebug> PreferencesDialog* PreferencesDialog::instance() @@ -34,10 +33,11 @@ PreferencesDialog::PreferencesDialog() { loadPreferences(); //TODO: Move this code out of the qthelper.cpp - QSettings s; - s.beginGroup("GeneralSettings"); - s.setValue("default_directory", system_default_directory()); - s.endGroup(); + //FIXME: This looks wrong. + //QSettings s; + //s.beginGroup("GeneralSettings"); + //s.setValue("default_directory", system_default_directory()); + //s.endGroup(); pagesList = new QListWidget(); pagesStack = new QStackedWidget(); |