diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-07-10 21:33:06 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-11 09:57:27 -0700 |
commit | 040e172d33b405fb2df75398e43eb11ff22557c6 (patch) | |
tree | acbdd82df63519bd46b29cc2991c63a3412feba2 /qt-ui | |
parent | 3a16a64616a854ead300f37bfe6e614e6dde168c (diff) | |
download | subsurface-040e172d33b405fb2df75398e43eb11ff22557c6.tar.gz |
Read the preferences upon initialization for the show/hide pictures
Forgot to add this one.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/mainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index c22129818..9f4c38f70 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -802,6 +802,7 @@ void MainWindow::readSettings() TOOLBOX_PREF_BUTTON(hrgraph, hrgraph, profHR); TOOLBOX_PREF_BUTTON(rulergraph, rulergraph, profRuler); TOOLBOX_PREF_BUTTON(show_sac, show_sac, profSAC); + TOOLBOX_PREF_BUTTON(show_pictures_in_profile, show_pictures_in_profile, profTogglePicture); s.endGroup(); s.beginGroup("DiveComputer"); default_dive_computer_vendor = getSetting(s, "dive_computer_vendor"); |