From: Jean-Marc Lasgouttes Date: Fri, 12 Jan 2018 15:54:32 +0000 (+0100) Subject: Initialize properly class member X-Git-Tag: lyx-2.4.0dev-acb2ca7b~4027 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2ba00ecb7bf00b5f6a22f2f6ae23c4c9127e8a93;p=features.git Initialize properly class member Spotted by coverity. --- diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index e82fea7c45..ff6073e0db 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"); qRegisterMetaType("KeyModifier");