summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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];
}