summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFInput/macsrc/PadController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/plugins/DFInput/macsrc/PadController.m')
-rwxr-xr-xmacosx/plugins/DFInput/macsrc/PadController.m3
1 files changed, 1 insertions, 2 deletions
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);
}