From 2d8cd443702c5155bda12b711b9ab5d0f99104da Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Thu, 14 Nov 2013 20:58:44 +0100 Subject: Make the info box look as it did in 3.1 In the Gtk version there were no option to disable the showing of time in the mouse over, so this removes that option to limit the amount of clutter in the settings panel. This also renames the time and temperature to match the names they used to have. T -> @, Temp -> T Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- qt-ui/preferences.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'qt-ui/preferences.cpp') diff --git a/qt-ui/preferences.cpp b/qt-ui/preferences.cpp index f35901709..eb7eb73ac 100644 --- a/qt-ui/preferences.cpp +++ b/qt-ui/preferences.cpp @@ -75,7 +75,6 @@ void PreferencesDialog::setUiFromPrefs() ui.fontsize->setValue(prefs.font_size); ui.defaultfilename->setText(prefs.default_filename); ui.displayinvalid->setChecked(prefs.show_invalid); - ui.show_time->setChecked(prefs.show_time); ui.show_sac->setChecked(prefs.show_sac); ui.vertical_speed_minutes->setChecked(prefs.units.vertical_speed_time == units::MINUTES); ui.vertical_speed_seconds->setChecked(prefs.units.vertical_speed_time == units::SECONDS); @@ -121,7 +120,6 @@ void PreferencesDialog::setPrefsFromUi() prefs.font_size = ui.fontsize->value(); prefs.default_filename = strdup(ui.defaultfilename->text().toUtf8().data()); prefs.display_invalid_dives = ui.displayinvalid->isChecked(); - SP(show_time, ui.show_time); SP(show_sac, ui.show_sac); } @@ -149,7 +147,6 @@ void PreferencesDialog::syncSettings() SB("calcalltissues", ui.all_tissues); s.setValue("gflow", ui.gflow->value()); s.setValue("gfhigh", ui.gfhigh->value()); - SB("show_time", ui.show_time); SB("show_sac", ui.show_sac); s.endGroup(); -- cgit v1.2.3-70-g09d2