aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--desktop-widgets/preferences/preferencesdialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop-widgets/preferences/preferencesdialog.cpp b/desktop-widgets/preferences/preferencesdialog.cpp
index 9041668f8..a7934a96d 100644
--- a/desktop-widgets/preferences/preferencesdialog.cpp
+++ b/desktop-widgets/preferences/preferencesdialog.cpp
@@ -8,6 +8,8 @@
#include "preferences_graph.h"
#include "preferences_network.h"
+#include "subsurface-core/qthelper.h"
+
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QListWidget>
@@ -29,6 +31,8 @@ void PreferencesDialog::emitSettingsChanged()
PreferencesDialog::PreferencesDialog()
{
+ loadPreferences(); //TODO: Move this code out of the qthelper.cpp
+
pagesList = new QListWidget();
pagesStack = new QStackedWidget();
buttonBox = new QDialogButtonBox(