summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.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 /tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.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 'tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp')
-rw-r--r--tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp b/tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp
index 2e755351ee..a0f24b735c 100644
--- a/tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp
+++ b/tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp
@@ -668,9 +668,6 @@ public:
QCoreApplication::sendPostedEvents();
return false;
}
- bool hasPendingEvents() {
- return qGlobalPostedEventsCount();
- }
void registerSocketNotifier(QSocketNotifier *) {}
void unregisterSocketNotifier(QSocketNotifier *) {}
void registerTimer(int , int , Qt::TimerType, QObject *) {}
@@ -680,7 +677,6 @@ public:
int remainingTime(int) { return 0; }
void wakeUp() {}
void interrupt() {}
- void flush() {}
#ifdef Q_OS_WIN
bool registerEventNotifier(QWinEventNotifier *) { return false; }