mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
iOS: qt-ble.cpp remove unsupported event.
QEvent::DeferredDelete is not supported in iOS Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
37ac354291
commit
67838de5bc
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue