From 67838de5bc6cad6edf5ad7a92279df0f3f32bf0d Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Mon, 21 May 2018 11:45:06 +0200 Subject: iOS: qt-ble.cpp remove unsupported event. QEvent::DeferredDelete is not supported in iOS Signed-off-by: Jan Iversen --- core/qt-ble.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/qt-ble.cpp') 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); } -- cgit v1.2.3-70-g09d2