Initialize properly class member

Spotted by coverity.

(cherry picked from commit 2ba00ecb7b)
This commit is contained in:
Jean-Marc Lasgouttes 2018-01-12 16:54:32 +01:00 committed by Juergen Spitzmueller
parent b0868e6eb1
commit 93893396e4

View 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");