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/DFInput/macsrc/PadController.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'macosx/plugins/DFInput/macsrc') diff --git a/macosx/plugins/DFInput/macsrc/PadController.m b/macosx/plugins/DFInput/macsrc/PadController.m index 1a4997c6..3c822417 100755 --- a/macosx/plugins/DFInput/macsrc/PadController.m +++ b/macosx/plugins/DFInput/macsrc/PadController.m @@ -41,7 +41,6 @@ static PadController *padController = nil; void DoAbout() { // Get parent application instance - NSApplication *app = [NSApplication sharedApplication]; NSBundle *bundle = [NSBundle bundleWithIdentifier:APP_ID]; // Get Credits.rtf @@ -70,7 +69,7 @@ void DoAbout() credits, @"Credits", nil]; dispatch_async(dispatch_get_main_queue(), ^{ - [app orderFrontStandardAboutPanelWithOptions:infoPaneDict]; + [NSApp orderFrontStandardAboutPanelWithOptions:infoPaneDict]; }); RELEASEOBJ(infoPaneDict); } -- cgit v1.2.3