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/corelib/kernel/qeventdispatcher_unix.cpp | |
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/corelib/kernel/qeventdispatcher_unix.cpp')
-rw-r--r-- | src/corelib/kernel/qeventdispatcher_unix.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/corelib/kernel/qeventdispatcher_unix.cpp b/src/corelib/kernel/qeventdispatcher_unix.cpp index 44da02781e..b5130b6f1e 100644 --- a/src/corelib/kernel/qeventdispatcher_unix.cpp +++ b/src/corelib/kernel/qeventdispatcher_unix.cpp @@ -519,12 +519,6 @@ bool QEventDispatcherUNIX::processEvents(QEventLoop::ProcessEventsFlags flags) return (nevents > 0); } -bool QEventDispatcherUNIX::hasPendingEvents() -{ - extern uint qGlobalPostedEventsCount(); // from qapplication.cpp - return qGlobalPostedEventsCount(); -} - int QEventDispatcherUNIX::remainingTime(int timerId) { #ifndef QT_NO_DEBUG @@ -551,9 +545,6 @@ void QEventDispatcherUNIX::interrupt() wakeUp(); } -void QEventDispatcherUNIX::flush() -{ } - QT_END_NAMESPACE #include "moc_qeventdispatcher_unix_p.cpp" |