diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-08-26 18:17:24 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-08-26 18:17:24 +0000 |
| commit | 15a535c6bf683f57852e6cbf6ecb68d4bfe79bab (patch) | |
| tree | a96d12b7b93df47e70961a8f5ce17cfd8dea6573 /macosx/plugins/DFSound/macsrc/PluginController.m | |
| parent | 895f26cffe5b033161417c1cbfbe32e94685a7f7 (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/DFSound/macsrc/PluginController.m')
| -rwxr-xr-x | macosx/plugins/DFSound/macsrc/PluginController.m | 3 |
1 files changed, 1 insertions, 2 deletions
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); } |
