summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences/preferencesdialog.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-09-25 16:15:37 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-30 10:36:50 -0700
commit1d2d046c0f80d8884d783aad57340c9b6867985a (patch)
tree1af74f6bf1fdc91a04078afb6d940fb71c42ecb9 /desktop-widgets/preferences/preferencesdialog.cpp
parent7cd9e2b7bb101719ec5c50a10fc889ba4b7bd9c5 (diff)
downloadsubsurface-1d2d046c0f80d8884d783aad57340c9b6867985a.tar.gz
Preferences: Port the default preferences to the new system
Simple port of the default preferences to the new preferences structure. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/preferences/preferencesdialog.cpp')
-rw-r--r--desktop-widgets/preferences/preferencesdialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop-widgets/preferences/preferencesdialog.cpp b/desktop-widgets/preferences/preferencesdialog.cpp
index 3975994a9..6f66d856d 100644
--- a/desktop-widgets/preferences/preferencesdialog.cpp
+++ b/desktop-widgets/preferences/preferencesdialog.cpp
@@ -3,6 +3,7 @@
#include "abstractpreferenceswidget.h"
#include "preferences_language.h"
#include "preferences_georeference.h"
+#include "preferences_defaults.h"
#include <QVBoxLayout>
#include <QHBoxLayout>
@@ -35,6 +36,7 @@ PreferencesDialogV2::PreferencesDialogV2()
addPreferencePage(new PreferencesLanguage());
addPreferencePage(new PreferencesGeoreference());
+ addPreferencePage(new PreferencesDefaults());
refreshPages();
connect(pagesList, &QListWidget::currentRowChanged,