summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/mainwindow.cpp1
-rw-r--r--qt-ui/preferences.cpp3
-rw-r--r--qt-ui/preferences.ui11
3 files changed, 0 insertions, 15 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 3fe6d23e6..b2180d1ce 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -619,7 +619,6 @@ void MainWindow::readSettings()
GET_INT("gflow", gflow);
GET_INT("gfhigh", gfhigh);
set_gf(prefs.gflow, prefs.gfhigh);
- GET_BOOL("show_time", show_time);
GET_BOOL("show_sac", show_sac);
s.endGroup();
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();
diff --git a/qt-ui/preferences.ui b/qt-ui/preferences.ui
index 960c31c57..7e071face 100644
--- a/qt-ui/preferences.ui
+++ b/qt-ui/preferences.ui
@@ -724,17 +724,6 @@
</layout>
</item>
<item>
- <layout class="QHBoxLayout" name="horizontalLayout_11">
- <item>
- <widget class="QCheckBox" name="show_time">
- <property name="text">
- <string>Show time</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
<layout class="QHBoxLayout" name="horizontalLayout_11b">
<item>
<widget class="QCheckBox" name="show_sac">