# HG changeset patch # User Chris Cannam # Date 1385736707 0 # Node ID 212644efa523f61316450bc6ee92f3f5158f68f3 # Parent 502fe55c21840e4ecda952c8114ce60050089c65 Fix uninitialised member diff -r 502fe55c2184 -r 212644efa523 layer/FlexiNoteLayer.cpp --- 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; }