aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/ftw
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2022-09-13 15:13:34 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2022-09-14 21:43:52 +0200
commit626ce00d53ae7aa9d605b1b65a68e5aa1bd4bf14 (patch)
treea653c25b090eb6ba4968b00a63a5bed640529c12 /src/qml/qml/ftw
parent8f00b65d753db647b49f551319b04819e9e4e882 (diff)
qqmlthread: Remove unused wakeAll support
Change-Id: I2e2ae34cf0ef05752f3ef70e31d030b52058b11c Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/qml/ftw')
-rw-r--r--src/qml/qml/ftw/qqmlthread.cpp6
-rw-r--r--src/qml/qml/ftw/qqmlthread_p.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/src/qml/qml/ftw/qqmlthread.cpp b/src/qml/qml/ftw/qqmlthread.cpp
index c2ddf917ef..e0bc5572c3 100644
--- a/src/qml/qml/ftw/qqmlthread.cpp
+++ b/src/qml/qml/ftw/qqmlthread.cpp
@@ -26,7 +26,6 @@ public:
inline void unlock() { _mutex.unlock(); }
inline void wait() { _wait.wait(&_mutex); }
inline void wakeOne() { _wait.wakeOne(); }
- inline void wakeAll() { _wait.wakeAll(); }
quint32 m_threadProcessing:1; // Set when the thread is processing messages
quint32 m_mainProcessing:1; // Set when the main thread is processing messages
@@ -253,11 +252,6 @@ void QQmlThread::wakeOne()
d->wakeOne();
}
-void QQmlThread::wakeAll()
-{
- d->wakeAll();
-}
-
void QQmlThread::wait()
{
d->wait();
diff --git a/src/qml/qml/ftw/qqmlthread_p.h b/src/qml/qml/ftw/qqmlthread_p.h
index 0e2434b9c5..ef2bd9dab5 100644
--- a/src/qml/qml/ftw/qqmlthread_p.h
+++ b/src/qml/qml/ftw/qqmlthread_p.h
@@ -40,7 +40,6 @@ public:
void lock();
void unlock();
void wakeOne();
- void wakeAll();
void wait();
QThread *thread() const;