diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2024-05-06 10:53:06 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2024-05-09 21:27:34 -0700 |
commit | 179e79b18d1827e38d8ffe2914e5d15b12e270d5 (patch) | |
tree | 3ffebb4b6fabf95a7c0934a385f02effbc906ace /src/corelib/compat/removed_api.cpp | |
parent | 95d4e6bababfeb36fa8a355a8487b64eb3ffb587 (diff) |
QThreadPool: add waitForDone() based on QDeadlineTimer
It was already being used internally this way, so all we needed was to
provide the front-end API and inline the old API.
[ChangeLog][QtCore][QThreadPool] Added an overload of waitForDone()
based on QDeadlineTimer.
Fixes: QTBUG-125107
Change-Id: Ic5b1273bb0204c31afd8fffd17ccf7c5bee07c35
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Diffstat (limited to 'src/corelib/compat/removed_api.cpp')
-rw-r--r-- | src/corelib/compat/removed_api.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/compat/removed_api.cpp b/src/corelib/compat/removed_api.cpp index ed285dc8f1..3c6123ed15 100644 --- a/src/corelib/compat/removed_api.cpp +++ b/src/corelib/compat/removed_api.cpp @@ -1078,6 +1078,10 @@ bool QRegularExpression::operator==(const QRegularExpression &other) const #include "qstring.h" // inlined API +#if QT_CONFIG(thread) +# include "qthreadpool.h" // inlined API +#endif + #include "qurl.h" bool QUrl::operator<(const QUrl &url) const |