summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2019-11-15 11:10:24 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-11-16 12:34:30 -0800
commit08cb521cf26d2a0140ea3ad9b4dbd97dc4884347 (patch)
tree80de9e79606fe21d364346e187e317fb373bae37 /desktop-widgets
parentdbb504429d89b472699bb8cfba8a751424e12139 (diff)
downloadsubsurface-08cb521cf26d2a0140ea3ad9b4dbd97dc4884347.tar.gz
Initialize modified member
Fixes CID 350111 Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/tab-widgets/maintab.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp
index ec3957f47..3e6de0f39 100644
--- a/desktop-widgets/tab-widgets/maintab.cpp
+++ b/desktop-widgets/tab-widgets/maintab.cpp
@@ -53,7 +53,8 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
lastSelectedDive(true),
lastTabSelectedDive(0),
lastTabSelectedDiveTrip(0),
- currentTrip(0)
+ currentTrip(0),
+ modified(false)
{
ui.setupUi(this);