OSDN Git Service

initialize QWExtra::compress_events to true
authorIvailo Monev <xakepa10@laimg.moc>
Tue, 30 Jul 2019 15:41:29 +0000 (15:41 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Tue, 30 Jul 2019 15:41:29 +0000 (15:41 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/gui/kernel/qwidget.cpp

index ab1dd3d..68e35b2 100644 (file)
@@ -1456,6 +1456,7 @@ void QWidgetPrivate::createExtra()
         extra->nativeChildrenForced = false;
         extra->inRenderWithPainter = false;
         extra->hasMask = false;
+        extra->compress_events = true;
         createSysExtra();
 #ifdef QWIDGET_EXTRA_DEBUG
         static int count = 0;