Skip to content

Commit beeb297

Browse files
committed
Patching to compile on OSX10.10
A quick&dirty patch as per Homebrew/legacy-homebrew#29837
1 parent d3cd059 commit beeb297

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/qt/qtbase/src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm

+2-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ - (void)dealloc
124124
[dockMenu release];
125125
[qtMenuLoader release];
126126
if (reflectionDelegate) {
127-
[NSApp setDelegate:reflectionDelegate];
127+
//[NSApp setDelegate:reflectionDelegate];
128+
[[NSApplication sharedApplication] setDelegate:reflectionDelegate];
128129
[reflectionDelegate release];
129130
}
130131
[[NSNotificationCenter defaultCenter] removeObserver:self];

0 commit comments

Comments
 (0)