summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences/preferencesdialog.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-09-25 17:07:04 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-30 10:36:50 -0700
commit57d7b59bdc62a5b01fa420bc420dbdcf1414a23a (patch)
tree779d151e52950f882713fd17ab93042639dd7f5d /desktop-widgets/preferences/preferencesdialog.cpp
parentc53615315e151a2790218c13898f128d561df1b9 (diff)
downloadsubsurface-57d7b59bdc62a5b01fa420bc420dbdcf1414a23a.tar.gz
Preferences: move units to the new dialog
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 6f66d856d..7d9e17d7e 100644
--- a/desktop-widgets/preferences/preferencesdialog.cpp
+++ b/desktop-widgets/preferences/preferencesdialog.cpp
@@ -4,6 +4,7 @@
#include "preferences_language.h"
#include "preferences_georeference.h"
#include "preferences_defaults.h"
+#include "preferences_units.h"
#include <QVBoxLayout>
#include <QHBoxLayout>
@@ -37,6 +38,7 @@ PreferencesDialogV2::PreferencesDialogV2()
addPreferencePage(new PreferencesLanguage());
addPreferencePage(new PreferencesGeoreference());
addPreferencePage(new PreferencesDefaults());
+ addPreferencePage(new PreferencesUnits());
refreshPages();
connect(pagesList, &QListWidget::currentRowChanged,