diff options
author | Michael Andreen <harv@ruin.nu> | 2014-02-08 18:07:06 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-08 09:08:48 -0800 |
commit | 753ebc8ed49579bd79824cc5043fe26029dbd65f (patch) | |
tree | ff7aa19cab01d50ed0f38edf08acaca372b2f968 /qt-ui/preferences.h | |
parent | 2a3a1c1b412ea3da896c21840e07662002197dd0 (diff) | |
download | subsurface-753ebc8ed49579bd79824cc5043fe26029dbd65f.tar.gz |
Load preferences before they are saved.
Load all the settings in the PreferenceDialog constructor. Previously
all the settings were overwritten with default values the first time
PreferencesDialog::syncSettings() was called.
Signed-off-by: Michael Andreen <harv@ruin.nu>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/preferences.h')
-rw-r--r-- | qt-ui/preferences.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/preferences.h b/qt-ui/preferences.h index a30914181..d7cf77572 100644 --- a/qt-ui/preferences.h +++ b/qt-ui/preferences.h @@ -21,6 +21,7 @@ public slots: void buttonClicked(QAbstractButton* button); void on_chooseFile_clicked(); void syncSettings(); + void loadSettings(); void restorePrefs(); void rememberPrefs(); void gflowChanged(int gf); |