Mercurial > hg > svgui
diff layer/FlexiNoteLayer.cpp @ 844:5d4e3e36945f
Fix some (probably benign) uninitialised members (from coverity scan)
author | Chris Cannam |
---|---|
date | Wed, 03 Sep 2014 11:32:08 +0100 |
parents | 22fe9bcb7206 |
children | 7a80fa6a6dfc e0f08e108064 |
line wrap: on
line diff
--- a/layer/FlexiNoteLayer.cpp Wed Sep 03 11:31:09 2014 +0100 +++ b/layer/FlexiNoteLayer.cpp Wed Sep 03 11:32:08 2014 +0100 @@ -62,8 +62,14 @@ m_model(0), m_editing(false), m_intelligentActions(true), + m_dragPointX(0), + m_dragPointY(0), + m_dragStartX(0), + m_dragStartY(0), m_originalPoint(0, 0.0, 0, 1.f, tr("New Point")), m_editingPoint(0, 0.0, 0, 1.f, tr("New Point")), + m_greatestLeftNeighbourFrame(0), + m_smallestRightNeighbourFrame(0), m_editingCommand(0), m_verticalScale(AutoAlignScale), m_editMode(DragNote),