summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qeventdispatcher_win.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-08-31 13:39:48 +0200
committerLars Knoll <lars.knoll@qt.io>2020-09-06 00:17:12 +0200
commit75d1d2a91376c3338510cf1e5fa10feaf8df5785 (patch)
treed75b6d14ea3f9bb72b10c71c64b21fdb00f9fc13 /src/corelib/kernel/qeventdispatcher_win.cpp
parent2caa2faf01d66904b912fe1b1b443b5932d928d0 (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/corelib/kernel/qeventdispatcher_win.cpp')
-rw-r--r--src/corelib/kernel/qeventdispatcher_win.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/corelib/kernel/qeventdispatcher_win.cpp b/src/corelib/kernel/qeventdispatcher_win.cpp
index b3ae226e58..623765c8de 100644
--- a/src/corelib/kernel/qeventdispatcher_win.cpp
+++ b/src/corelib/kernel/qeventdispatcher_win.cpp
@@ -612,12 +612,6 @@ bool QEventDispatcherWin32::processEvents(QEventLoop::ProcessEventsFlags flags)
return retVal;
}
-bool QEventDispatcherWin32::hasPendingEvents()
-{
- MSG msg;
- return qGlobalPostedEventsCount() || PeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE);
-}
-
void QEventDispatcherWin32::registerSocketNotifier(QSocketNotifier *notifier)
{
Q_ASSERT(notifier);
@@ -970,9 +964,6 @@ void QEventDispatcherWin32::interrupt()
wakeUp();
}
-void QEventDispatcherWin32::flush()
-{ }
-
void QEventDispatcherWin32::startingUp()
{ }