changeset 688:212644efa523 tonioni

Fix uninitialised member
author Chris Cannam
date Fri, 29 Nov 2013 14:51:47 +0000
parents 502fe55c2184
children ad12e428785b
files layer/FlexiNoteLayer.cpp
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/layer/FlexiNoteLayer.cpp	Fri Nov 29 14:50:33 2013 +0000
+++ b/layer/FlexiNoteLayer.cpp	Fri Nov 29 14:51:47 2013 +0000
@@ -60,6 +60,7 @@
     m_editingPoint(0, 0.0, 0, 1.f, tr("New Point")),
     m_editingCommand(0),
     m_verticalScale(AutoAlignScale),
+    m_editMode(DragNote),
     m_scaleMinimum(34), 
     m_scaleMaximum(77),
     m_intelligentActions(true)
@@ -1303,7 +1304,8 @@
     if (x >= noteEndX - tol && x <= noteEndX + tol) closeToRight = true;
     if (y >= noteStartY - tol && y <= noteStartY + tol) closeToTop = true;
     if (y >= noteEndY - tol && y <= noteEndY + tol) closeToBottom = true;
-    
+
+//    cerr << "FlexiNoteLayer::getRelativeMousePosition: close to: left " << closeToLeft << " right " << closeToRight << " top " << closeToTop << " bottom " << closeToBottom << endl;
 }