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>
This commit is contained in:
Michael Andreen 2014-02-08 18:07:06 +01:00 committed by Dirk Hohndel
parent 2a3a1c1b41
commit 753ebc8ed4
2 changed files with 10 additions and 1 deletions

View file

@ -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);