Rewrite readSettings to do what it should have done from the start

This function was supposed to take the default_prefs into account but
clearly wasn't.

Now it should be much more readable and maintainable.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-06-04 21:40:09 +09:00
parent 46112cbcd6
commit ed0f558efb
2 changed files with 78 additions and 74 deletions

View file

@ -82,6 +82,7 @@ private Q_SLOTS:
void on_actionUserManual_triggered();
void current_dive_changed(int divenr);
void initialUiSetup();
protected:
void closeEvent(QCloseEvent *);