diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-06-09 10:22:54 +0200 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-06-09 18:43:23 +0200 |
commit | 052bfad934352f08d75665d8c154bd665f452616 (patch) | |
tree | 5adc5aca65c22bce51abdd626d40d2bb97057526 /src/qml/qml/qqmlincubator.cpp | |
parent | 40d50d37bc7ca138e21be0db66109e4e1bd60594 (diff) |
QQmlIncubator: remove deprecated code
Change-Id: I2aecdf789775c2363fb7990153951b45e2c42408
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlincubator.cpp')
-rw-r--r-- | src/qml/qml/qqmlincubator.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/qml/qml/qqmlincubator.cpp b/src/qml/qml/qqmlincubator.cpp index 1f41934c3c..6a0210c153 100644 --- a/src/qml/qml/qqmlincubator.cpp +++ b/src/qml/qml/qqmlincubator.cpp @@ -409,26 +409,6 @@ void QQmlIncubationController::incubateFor(int msecs) } while (d && d->incubatorCount != 0 && !i.shouldInterrupt()); } -#if QT_DEPRECATED_SINCE(5, 15) -/*! -\obsolete - -\warning Do not use this function. -Use the overload taking a \c{std::atomic<bool>} instead. -*/ -void QQmlIncubationController::incubateWhile(volatile bool *flag, int msecs) -{ - if (!d || !d->incubatorCount) - return; - - QQmlInstantiationInterrupt i(flag, msecs * Q_INT64_C(1000000)); - i.reset(); - do { - static_cast<QQmlIncubatorPrivate*>(d->incubatorList.first())->incubate(i); - } while (d && d->incubatorCount != 0 && !i.shouldInterrupt()); -} -#endif - /*! \since 5.15 |