summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-08-20 11:19:49 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-25 11:49:47 -0700
commit321a920a9873a3828a24c1b28cf8eb5fe1bff2cb (patch)
treeef1dcbec683536af07ac86b1ed7f5c5856204707 /desktop-widgets/preferences
parent5f4a040dd217c07a341bd03fe80fe19747d1541e (diff)
downloadsubsurface-321a920a9873a3828a24c1b28cf8eb5fe1bff2cb.tar.gz
desktop-widgets: remove QSettings from desktop-widgets
The variables referenced are moved into qPref in earlier commits so in general all QSettings calls are replaced by qPref*:: calls Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'desktop-widgets/preferences')
-rw-r--r--desktop-widgets/preferences/preferencesdialog.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/desktop-widgets/preferences/preferencesdialog.cpp b/desktop-widgets/preferences/preferencesdialog.cpp
index 49b1f87bd..3b16260d2 100644
--- a/desktop-widgets/preferences/preferencesdialog.cpp
+++ b/desktop-widgets/preferences/preferencesdialog.cpp
@@ -32,12 +32,6 @@ void PreferencesDialog::emitSettingsChanged()
PreferencesDialog::PreferencesDialog()
{
- //FIXME: This looks wrong.
- //QSettings s;
- //s.beginGroup("GeneralSettings");
- //s.setValue("default_directory", system_default_directory());
- //s.endGroup();
-
setWindowIcon(QIcon(":subsurface-icon"));
pagesList = new QListWidget();
pagesStack = new QStackedWidget();