From 7c3cf33585152a860c59188de17cbba98670af20 Mon Sep 17 00:00:00 2001 From: kleuter Date: Mon, 4 Dec 2017 17:06:58 +0100 Subject: [PATCH] 5.6.3 - fixed compilation on XCode 4.6 --- 5.6.3/src/plugins/platforms/cocoa/qcocoawindow.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/5.6.3/src/plugins/platforms/cocoa/qcocoawindow.mm b/5.6.3/src/plugins/platforms/cocoa/qcocoawindow.mm index 0e5655f..82171d6 100644 --- a/5.6.3/src/plugins/platforms/cocoa/qcocoawindow.mm +++ b/5.6.3/src/plugins/platforms/cocoa/qcocoawindow.mm @@ -313,7 +313,7 @@ static bool isMouseEvent(NSEvent *ev) continue; if ([window conformsToProtocol:@protocol(QNSWindowProtocol)]) { - QCocoaWindow *cocoaWindow = static_cast>(window).helper.platformWindow; + QCocoaWindow *cocoaWindow = static_cast< id >(window).helper.platformWindow; window.level = notification.name == NSApplicationWillResignActiveNotification ? NSNormalWindowLevel : cocoaWindow->windowLevel(cocoaWindow->window()->flags()); }