summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2017-03-28 13:13:41 (GMT)
committerTobias Markmann <tm@ayena.de>2017-03-29 07:16:25 (GMT)
commit7c047cba09ecc963b66170b0abb2238aa895ccfb (patch)
tree78dfcb3e25333cb4c97f67acc8575601285a71af
parentcd23d0d8a01583b7a5289821c27372ef9f6443e1 (diff)
downloadswift-7c047cba09ecc963b66170b0abb2238aa895ccfb.zip
swift-7c047cba09ecc963b66170b0abb2238aa895ccfb.tar.bz2
Initialise timerId member in QtGridSelectionDialog
Coverity raised this issue. Test-Information: All unit tests passed on macOS 10.12.4. Change-Id: Id65cdc5e0175ba7773d32b6dddbc9b4af6789019
-rw-r--r--Swift/QtUI/Trellis/QtGridSelectionDialog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/QtUI/Trellis/QtGridSelectionDialog.h b/Swift/QtUI/Trellis/QtGridSelectionDialog.h
index 2cb36ca..c448979 100644
--- a/Swift/QtUI/Trellis/QtGridSelectionDialog.h
+++ b/Swift/QtUI/Trellis/QtGridSelectionDialog.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014-2016 Isode Limited.
+ * Copyright (c) 2014-2017 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -53,7 +53,7 @@ namespace Swift {
int padding;
int horizontalMargin;
int verticalMargin;
- int timerId;
+ int timerId = -1;
QSize frameSize;