summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2014-04-25 16:21:55 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-28 11:29:43 +0200
commit143eab87111f4ac0dd659b0a0cc217274603a2bb (patch)
treef74a6541d622706c7fbff0e83257634b0c0394ef /src/plugins/platforms
parent373d858812a84b48be482dd64ad9d248ab2d5b3c (diff)
iOS: Send application state changes synchronously
The user might have a limited time to react when the application is suspended, so we need to send the event as soon as possible. Change-Id: Ib6c342f5426cf15e36ba4ef57edf30878f86d1c9 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r--src/plugins/platforms/ios/qiosapplicationstate.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/ios/qiosapplicationstate.mm b/src/plugins/platforms/ios/qiosapplicationstate.mm
index 8d77e608e5..afa3ecb21f 100644
--- a/src/plugins/platforms/ios/qiosapplicationstate.mm
+++ b/src/plugins/platforms/ios/qiosapplicationstate.mm
@@ -150,6 +150,7 @@
break;
}
QWindowSystemInterface::handleApplicationStateChanged(state);
+ QWindowSystemInterface::flushWindowSystemEvents();
}
@end