diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-05-26 11:33:45 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-26 11:33:45 -0700 |
commit | b947cc924ff5c78ca7e0561d3ee3891207bea5e6 (patch) | |
tree | 55383890dcaa3158e0749cc59d7c950a67c96395 /qt-ui/mainwindow.h | |
parent | 96f74d9939c3394bb8ece0888b473cdf4bc88b1a (diff) | |
download | subsurface-b947cc924ff5c78ca7e0561d3ee3891207bea5e6.tar.gz |
Hook up most of the Preferences dialog
The imperial/metric super setting doesn't have any effect. But changing
the individual units now works and is tracked. And causes the display to
change after clicking "OK" (but not yet when clicking "Apply").
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r-- | qt-ui/mainwindow.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h index a5b1a9b48..2366617c6 100644 --- a/qt-ui/mainwindow.h +++ b/qt-ui/mainwindow.h @@ -85,6 +85,9 @@ private Q_SLOTS: protected: void closeEvent(QCloseEvent *); +public Q_SLOTS: + void readSettings(); + private: Ui::MainWindow *ui; QAction *actionNextDive; @@ -92,7 +95,6 @@ private: QString filter(); bool askSaveChanges(); - void readSettings(); void writeSettings(); void redrawProfile(); void file_save(); |