diff options
author | Robert C. Helling <helling@atdotde.de> | 2018-05-08 16:24:51 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-05-14 23:47:00 +0300 |
commit | 969dfee9ec088acb942e211cb90329d2b8c0751f (patch) | |
tree | 89571c94dde158e2027108ba3dde7c8468caf351 /desktop-widgets | |
parent | 0b836f12fc714f0dfee6303699c9510f4cdf3b17 (diff) | |
download | subsurface-969dfee9ec088acb942e211cb90329d2b8c0751f.tar.gz |
Rename enum dive_comp_type to divemode_t
...as the usuage is not anymore about a computer but
a momentary dive mode. Rename the end indicator as well.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp index be57d40c3..0f50800c9 100644 --- a/desktop-widgets/tab-widgets/maintab.cpp +++ b/desktop-widgets/tab-widgets/maintab.cpp @@ -1164,7 +1164,7 @@ void MainTab::divetype_Changed(int index) { if (editMode == IGNORE) return; - displayed_dc->divemode = (enum dive_comp_type) index; + displayed_dc->divemode = (enum divemode_t) index; update_setpoint_events(&displayed_dive, displayed_dc); markChangedWidget(ui.DiveType); MainWindow::instance()->graphics()->recalcCeiling(); |