summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.h
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2018-10-27 12:00:12 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-11-18 06:31:44 +0800
commit37e7602a1e62f85bec0ad2bc12d838175df8968b (patch)
tree31e5db0fb10b47885af716a9738889e784b679cd /mobile-widgets/qmlmanager.h
parent76a68f71a4c25297dd65266e1ad5f2da4d80bac1 (diff)
downloadsubsurface-37e7602a1e62f85bec0ad2bc12d838175df8968b.tar.gz
Verify that copy is done
Naturally the paste button should be disabled, if this is the case, but it still makes sense to do this check. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r--mobile-widgets/qmlmanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index ca638e02c..1f2790854 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -226,7 +226,7 @@ private:
bool m_btEnabled;
void updateAllGlobalLists();
QString m_pluggedInDeviceName;
- struct dive *m_copyPasteDive;
+ struct dive *m_copyPasteDive = NULL;
struct dive_components what;
#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS)