summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/offscreen
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2020-07-23 08:19:45 +0200
committerKai Koehne <kai.koehne@qt.io>2020-08-10 11:56:54 +0200
commit177f040c6c79571eadaf51c3e4ad90ae7b023b0d (patch)
treefce6d1ced37fc64df9e0ce9800366ab0acf7fc6f /src/plugins/platforms/offscreen
parent7c861a36f98972b64379589477930e2e894b0d72 (diff)
Fix build with mingw gcc 9 and -Wsuggest-override
Change-Id: I780b0761a7f6b19022116b738efa7aca1378b715 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/plugins/platforms/offscreen')
-rw-r--r--src/plugins/platforms/offscreen/qoffscreenintegration.cpp6
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();