diff options
Diffstat (limited to 'src/plugins/platforms/offscreen/qoffscreenintegration.cpp')
-rw-r--r-- | src/plugins/platforms/offscreen/qoffscreenintegration.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/platforms/offscreen/qoffscreenintegration.cpp b/src/plugins/platforms/offscreen/qoffscreenintegration.cpp index ef0eb7e9cf..16020557eb 100644 --- a/src/plugins/platforms/offscreen/qoffscreenintegration.cpp +++ b/src/plugins/platforms/offscreen/qoffscreenintegration.cpp @@ -80,20 +80,20 @@ public: { } - bool processEvents(QEventLoop::ProcessEventsFlags flags) + bool processEvents(QEventLoop::ProcessEventsFlags flags) override { bool didSendEvents = BaseEventDispatcher::processEvents(flags); return QWindowSystemInterface::sendWindowSystemEvents(flags) || didSendEvents; } - bool hasPendingEvents() + bool hasPendingEvents() override { return BaseEventDispatcher::hasPendingEvents() || QWindowSystemInterface::windowSystemEventsQueued(); } - void flush() + void flush() override { if (qApp) qApp->sendPostedEvents(); |