summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@libreoffice.org>2018-05-21 11:45:06 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-05-21 07:46:41 -0700
commit67838de5bc6cad6edf5ad7a92279df0f3f32bf0d (patch)
tree2f17725114a2ee6260b7b34d98887fcd23ba1413 /core
parent37ac354291b4b78e01fbf6022e5b795768acb58d (diff)
downloadsubsurface-67838de5bc6cad6edf5ad7a92279df0f3f32bf0d.tar.gz
iOS: qt-ble.cpp remove unsupported event.
QEvent::DeferredDelete is not supported in iOS Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core')
-rw-r--r--core/qt-ble.cpp2
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);
}