diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-08-31 13:39:48 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-09-06 00:17:12 +0200 |
commit | 75d1d2a91376c3338510cf1e5fa10feaf8df5785 (patch) | |
tree | d75b6d14ea3f9bb72b10c71c64b21fdb00f9fc13 /src/plugins/platforms/offscreen | |
parent | 2caa2faf01d66904b912fe1b1b443b5932d928d0 (diff) |
Get rid of hasPendingEvents() and flush()
They are unused.
Change-Id: I77383f2be45551401ed9c2f88285511134cc8b0d
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/plugins/platforms/offscreen')
-rw-r--r-- | src/plugins/platforms/offscreen/qoffscreenintegration.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/plugins/platforms/offscreen/qoffscreenintegration.cpp b/src/plugins/platforms/offscreen/qoffscreenintegration.cpp index 16020557eb..b7df94e60d 100644 --- a/src/plugins/platforms/offscreen/qoffscreenintegration.cpp +++ b/src/plugins/platforms/offscreen/qoffscreenintegration.cpp @@ -86,19 +86,6 @@ public: return QWindowSystemInterface::sendWindowSystemEvents(flags) || didSendEvents; } - - bool hasPendingEvents() override - { - return BaseEventDispatcher::hasPendingEvents() - || QWindowSystemInterface::windowSystemEventsQueued(); - } - - void flush() override - { - if (qApp) - qApp->sendPostedEvents(); - BaseEventDispatcher::flush(); - } }; QOffscreenIntegration::QOffscreenIntegration() |