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ø --- tests/auto/corelib/thread/qthread/tst_qthread.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/auto/corelib/thread/qthread') diff --git a/tests/auto/corelib/thread/qthread/tst_qthread.cpp b/tests/auto/corelib/thread/qthread/tst_qthread.cpp index 093cd4f031..3f2679831e 100644 --- a/tests/auto/corelib/thread/qthread/tst_qthread.cpp +++ b/tests/auto/corelib/thread/qthread/tst_qthread.cpp @@ -1219,9 +1219,6 @@ public: QCoreApplication::sendPostedEvents(); return false; } - bool hasPendingEvents() { - return qGlobalPostedEventsCount(); - } void registerSocketNotifier(QSocketNotifier *) {} void unregisterSocketNotifier(QSocketNotifier *) {} void registerTimer(int, int, Qt::TimerType, QObject *) {} @@ -1231,7 +1228,6 @@ public: int remainingTime(int) { return 0; } void wakeUp() {} void interrupt() {} - void flush() {} #ifdef Q_OS_WIN bool registerEventNotifier(QWinEventNotifier *) { return false; } -- cgit v1.2.3