summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-12-19 19:58:29 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-12-22 11:13:21 +0000
commit44ef95a885f440a33e79ff3f9a79d4bb6d408dda (patch)
tree2ce62414022e87c47d42b5c5ef2c63f561088904 /src
parentffc8409aa58c04c1dd140001976b55925ac959f6 (diff)
iOS: Don't send all touch events async
Commit 77942a1bdf9 introduced the QScopedValueRollback, but without assigning it to a local temporary, so the value was rolled back immediately, resulting in always sending touch events async. Change-Id: Ic7f65c3d38c46813ff06694e883dae3df138b9d4 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/platforms/ios/qiosscreen.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/ios/qiosscreen.mm b/src/plugins/platforms/ios/qiosscreen.mm
index 521495b42f..5717483a81 100644
--- a/src/plugins/platforms/ios/qiosscreen.mm
+++ b/src/plugins/platforms/ios/qiosscreen.mm
@@ -204,7 +204,7 @@ static QIOSScreen* qtPlatformScreenFor(UIScreen *uiScreen)
- (void)sendEvent:(UIEvent *)event
{
- QScopedValueRollback<BOOL>(self->_sendingEvent, YES);
+ QScopedValueRollback<BOOL> sendingEvent(self->_sendingEvent, YES);
[super sendEvent:event];
}