From 75d1d2a91376c3338510cf1e5fa10feaf8df5785 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 31 Aug 2020 13:39:48 +0200 Subject: Get rid of hasPendingEvents() and flush() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They are unused. Change-Id: I77383f2be45551401ed9c2f88285511134cc8b0d Reviewed-by: Tor Arne Vestbø --- src/plugins/platforms/offscreen/qoffscreenintegration.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/plugins/platforms/offscreen') 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() -- cgit v1.2.3