changeset 858:ae4f58d9db84

Fix some (probably benign) uninitialised members (from coverity scan)
author Chris Cannam
date Wed, 03 Sep 2014 12:11:40 +0100
parents 44675ab217a3
children d282967236d5
files widgets/Panner.cpp
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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)
 {
 }