From 15a535c6bf683f57852e6cbf6ecb68d4bfe79bab Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Mon, 26 Aug 2013 18:17:24 +0000 Subject: Use NSApp instead of +[NSApplication sharedApplication] on the plug-ins. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86931 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/DFSound/macsrc/PluginController.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'macosx/plugins/DFSound/macsrc/PluginController.m') diff --git a/macosx/plugins/DFSound/macsrc/PluginController.m b/macosx/plugins/DFSound/macsrc/PluginController.m index c323967d..36ad0db3 100755 --- a/macosx/plugins/DFSound/macsrc/PluginController.m +++ b/macosx/plugins/DFSound/macsrc/PluginController.m @@ -56,7 +56,6 @@ static inline void RunOnMainThreadSync(dispatch_block_t block) void DoAbout() { // Get parent application instance - NSApplication *app = [NSApplication sharedApplication]; NSBundle *bundle = [NSBundle bundleWithIdentifier:APP_ID]; // Get Credits.rtf @@ -83,7 +82,7 @@ void DoAbout() credits, @"Credits", nil]; dispatch_async(dispatch_get_main_queue(), ^{ - [app orderFrontStandardAboutPanelWithOptions:infoPaneDict]; + [NSApp orderFrontStandardAboutPanelWithOptions:infoPaneDict]; }); RELEASEOBJ(infoPaneDict); } -- cgit v1.2.3