diff options
Diffstat (limited to 'core/qt-ble.cpp')
-rw-r--r-- | core/qt-ble.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/qt-ble.cpp b/core/qt-ble.cpp index 16363de18..8c40b9b19 100644 --- a/core/qt-ble.cpp +++ b/core/qt-ble.cpp @@ -38,7 +38,9 @@ static void waitFor(int ms) { do { QCoreApplication::processEvents(QEventLoop::AllEvents, ms); +#if !defined(Q_OS_IOS) QCoreApplication::sendPostedEvents(nullptr, QEvent::DeferredDelete); +#endif QThread::msleep(10); } while (timer.elapsed() < ms); } |