diff widgets/Panner.cpp @ 858:ae4f58d9db84

Fix some (probably benign) uninitialised members (from coverity scan)
author Chris Cannam
date Wed, 03 Sep 2014 12:11:40 +0100
parents 4806715f7a19
children 4a578a360011
line wrap: on
line diff
--- a/widgets/Panner.cpp	Wed Sep 03 12:10:27 2014 +0100
+++ b/widgets/Panner.cpp	Wed Sep 03 12:11:40 2014 +0100
@@ -36,7 +36,9 @@
     m_thumbColour(palette().highlightedText().color()),
     m_backgroundAlpha(255),
     m_thumbAlpha(255),
-    m_clicked(false)
+    m_clicked(false),
+    m_dragStartX(0),
+    m_dragStartY(0)
 {
 }