summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences/preferencesdialog.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-09-17 18:10:32 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-30 10:36:50 -0700
commit5461eadd1bd88844194073c56a2f8397c98dda04 (patch)
tree4c257288c87dcf207e44268710b1d97e5c882a94 /desktop-widgets/preferences/preferencesdialog.cpp
parentc06813317f1030f4c16968fc523746c064d24aab (diff)
downloadsubsurface-5461eadd1bd88844194073c56a2f8397c98dda04.tar.gz
Preferences: start with all settings set
Load all settings as soon as we start the preferences. 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.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/preferences/preferencesdialog.cpp b/desktop-widgets/preferences/preferencesdialog.cpp
index a50e6c406..5bdc75dbb 100644
--- a/desktop-widgets/preferences/preferencesdialog.cpp
+++ b/desktop-widgets/preferences/preferencesdialog.cpp
@@ -81,6 +81,7 @@ void PreferencesDialogV2::refreshPages()
QListWidgetItem *item = new QListWidgetItem(page->icon(), page->name());
pagesList->addItem(item);
pagesStack->addWidget(page);
+ page->refreshSettings();
}
}