diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-06-02 13:09:28 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-06-05 20:57:32 +0200 |
commit | 999c79863c574bdf3e1650a1b0901fdf83a9e0b4 (patch) | |
tree | 5b681c135637d00e8ea610db84ce71ce9f263142 /src/corelib/thread/qthreadpool.h | |
parent | 458d49861f5ab04490014f7839be0dab30c8ac61 (diff) |
Remove QThreadPool::cancel()
Deprecated in 5.9
Change-Id: Ib6e2a5da1e7ee2664fb6fa496bdc880fab870901
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/corelib/thread/qthreadpool.h')
-rw-r--r-- | src/corelib/thread/qthreadpool.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/corelib/thread/qthreadpool.h b/src/corelib/thread/qthreadpool.h index 004f76a240..0d143574cf 100644 --- a/src/corelib/thread/qthreadpool.h +++ b/src/corelib/thread/qthreadpool.h @@ -95,10 +95,6 @@ public: bool contains(const QThread *thread) const; -#if QT_DEPRECATED_SINCE(5, 9) - QT_DEPRECATED_X("use tryTake(), but note the different deletion rules") - void cancel(QRunnable *runnable); -#endif Q_REQUIRED_RESULT bool tryTake(QRunnable *runnable); }; |