summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-06-04 21:40:09 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-06-04 21:40:28 +0900
commited0f558efb633e573cfec9af76ebd1604271492c (patch)
tree89741c383354e7106f95be541eaf6c15e85a11c6 /qt-ui/mainwindow.h
parent46112cbcd65872be43d0e05ffd7b49cc2972f854 (diff)
downloadsubsurface-ed0f558efb633e573cfec9af76ebd1604271492c.tar.gz
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>
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r--qt-ui/mainwindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h
index f3e728176..f3024ef8d 100644
--- a/qt-ui/mainwindow.h
+++ b/qt-ui/mainwindow.h
@@ -82,6 +82,7 @@ private Q_SLOTS:
void on_actionUserManual_triggered();
void current_dive_changed(int divenr);
+ void initialUiSetup();
protected:
void closeEvent(QCloseEvent *);