summaryrefslogtreecommitdiff
path: root/macosx/plugins/Bladesio1/macsrc/PluginConfigController.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-08-26 18:17:24 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-08-26 18:17:24 +0000
commit15a535c6bf683f57852e6cbf6ecb68d4bfe79bab (patch)
treea96d12b7b93df47e70961a8f5ce17cfd8dea6573 /macosx/plugins/Bladesio1/macsrc/PluginConfigController.m
parent895f26cffe5b033161417c1cbfbe32e94685a7f7 (diff)
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
Diffstat (limited to 'macosx/plugins/Bladesio1/macsrc/PluginConfigController.m')
-rwxr-xr-xmacosx/plugins/Bladesio1/macsrc/PluginConfigController.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/macosx/plugins/Bladesio1/macsrc/PluginConfigController.m b/macosx/plugins/Bladesio1/macsrc/PluginConfigController.m
index 1090df6f..e99bf684 100755
--- a/macosx/plugins/Bladesio1/macsrc/PluginConfigController.m
+++ b/macosx/plugins/Bladesio1/macsrc/PluginConfigController.m
@@ -37,7 +37,6 @@ static PluginConfigController *windowController = nil;
void AboutDlgProc()
{
// Get parent application instance
- NSApplication *app = [NSApplication sharedApplication];
NSBundle *bundle = [NSBundle bundleWithIdentifier:APP_ID];
// Get Credits.rtf
@@ -67,7 +66,7 @@ void AboutDlgProc()
credits, @"Credits",
nil];
dispatch_async(dispatch_get_main_queue(), ^{
- [app orderFrontStandardAboutPanelWithOptions:infoPaneDict];
+ [NSApp orderFrontStandardAboutPanelWithOptions:infoPaneDict];
});
RELEASEOBJ(infoPaneDict);
}