commit 2ba00ecb7bf00b5f6a22f2f6ae23c4c9127e8a93
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Fri Jan 12 16:54:32 2018 +0100

    Initialize properly class member
    
    Spotted by coverity.
---
 src/frontends/qt4/GuiWorkArea.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/frontends/qt4/GuiWorkArea.cpp 
b/src/frontends/qt4/GuiWorkArea.cpp
index e82fea7..ff6073e 100644
--- a/src/frontends/qt4/GuiWorkArea.cpp
+++ b/src/frontends/qt4/GuiWorkArea.cpp
@@ -1035,7 +1035,7 @@ void GuiWorkArea::generateSyntheticMouseEvent()
 
 
 // CompressorProxy adapted from Kuba Ober https://stackoverflow.com/a/21006207
-CompressorProxy::CompressorProxy(GuiWorkArea * wa) : QObject(wa)
+CompressorProxy::CompressorProxy(GuiWorkArea * wa) : QObject(wa), flag_(false)
 {
        qRegisterMetaType<KeySymbol>("KeySymbol");
        qRegisterMetaType<KeyModifier>("KeyModifier");

Reply via email to