From 3783d3cc3156f95c6597113b612a8c87a2c90d2b Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Thu, 18 Jul 2019 11:10:18 +0000 Subject: [PATCH] remove unused internal QThreadPrivate::threadForId() function Signed-off-by: Ivailo Monev --- src/core/thread/qthread_p.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/core/thread/qthread_p.h b/src/core/thread/qthread_p.h index 9f4f49aac..e1a700ea5 100644 --- a/src/core/thread/qthread_p.h +++ b/src/core/thread/qthread_p.h @@ -144,8 +144,6 @@ public: uint stackSize; QThread::Priority priority; - static QThread *threadForId(int id); - std::thread::native_handle_type thread_id; QWaitCondition thread_done; @@ -168,7 +166,6 @@ public: QThreadData *data; static void setCurrentThread(QThread*) {} - static QThread *threadForId(int) { return QThread::currentThread(); } static void createEventDispatcher(QThreadData *data); Q_DECLARE_PUBLIC(QThread) -- 2.11.0