summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences/preferencesdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/preferences/preferencesdialog.cpp')
-rw-r--r--desktop-widgets/preferences/preferencesdialog.cpp10
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();