diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-03-15 22:41:59 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-03-19 08:54:31 -0700 |
commit | 8180e494270e3b09f7c52790251a860bb1da66e4 (patch) | |
tree | 91a3373c980701b56e6248fd2a9bb618fadc4832 /desktop-widgets | |
parent | 8c0dfe4483f8da0b0bc4e6be4a22be2c941714ea (diff) | |
download | subsurface-8180e494270e3b09f7c52790251a860bb1da66e4.tar.gz |
Cleanup: Initialize variable MainTab::lastSelectedDive
This variable was read before being set.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp index 1f1997507..82e9b8abc 100644 --- a/desktop-widgets/tab-widgets/maintab.cpp +++ b/desktop-widgets/tab-widgets/maintab.cpp @@ -44,6 +44,7 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent), cylindersModel(new CylindersModel(this)), editMode(NONE), copyPaste(false), + lastSelectedDive(true), lastTabSelectedDive(0), lastTabSelectedDiveTrip(0), currentTrip(0) |