]> git.lyx.org Git - features.git/commitdiff
Initialize properly class member
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 12 Jan 2018 15:54:32 +0000 (16:54 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Fri, 19 Jan 2018 08:33:53 +0000 (09:33 +0100)
Spotted by coverity.

(cherry picked from commit 2ba00ecb7bf00b5f6a22f2f6ae23c4c9127e8a93)

src/frontends/qt4/GuiWorkArea.cpp

index 0ec84f0e103b70a7af8f589e0fcf4e10c9f318c4..c065e1f44e500897eb0ebf14b61402d3e0406b2e 100644 (file)
@@ -1052,7 +1052,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");