[PATCH 1/5] graphicsscenerectmove.cpp: initialize GraphicsSceneRectMove::m_moveStarted
Mikko Rapeli
mikko.rapeli at iki.fi
Wed Jan 11 07:30:57 UTC 2017
Fixes cppcheck warning:
[src/effectstack/graphicsscenerectmove.cpp:490]: (warning) Member variable 'GraphicsSceneRectMove::m_moveStarted' is not initialized in the constructor.
Signed-off-by: Mikko Rapeli <mikko.rapeli at iki.fi>
---
src/effectstack/graphicsscenerectmove.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/effectstack/graphicsscenerectmove.cpp b/src/effectstack/graphicsscenerectmove.cpp
index ce82b72..4f84c71 100644
--- a/src/effectstack/graphicsscenerectmove.cpp
+++ b/src/effectstack/graphicsscenerectmove.cpp
@@ -495,6 +495,7 @@ GraphicsSceneRectMove::GraphicsSceneRectMove(QObject *parent) :
m_tool(TITLE_RECTANGLE),
m_gridSize(20),
m_createdText(false),
+ m_moveStarted(false),
m_pan(false)
{
//grabMouse();
--
2.10.2
More information about the kdenlive
mailing list