Under some environment on MacOS X 10.10, the Objective-C compiler confuse
which object's setDelegate is used actually when we use just 'NSApp'.
It is not fixed perfectly by commit
2a4c8c53dabf564142d5329b9ff8a82468324fd6.
So we should specify delegate protocol.
Change-Id: Ia5638d3169ae9251522eab6308ff0ba5d8a28874
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
// Create an Application controller
QemuCocoaAppController *appController = [[QemuCocoaAppController alloc] init];
- [NSApp setDelegate:appController];
+ [[NSApplication sharedApplication] setDelegate:appController];
// Start the main event loop
[NSApp run];