From c9289d55f08d262bfa5495de16b3b17c05a14741 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Sat, 16 Nov 2013 06:29:34 +0000 Subject: OS X: Fixing a few bugs. Get rid of a few deprecated notices. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87842 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/PcsxrPluginHandler.m | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'macosx/PcsxrPluginHandler.m') diff --git a/macosx/PcsxrPluginHandler.m b/macosx/PcsxrPluginHandler.m index b10d47b3..2c80cf91 100755 --- a/macosx/PcsxrPluginHandler.m +++ b/macosx/PcsxrPluginHandler.m @@ -30,6 +30,11 @@ return self; } +- (NSString*)windowNibName +{ + return @"AddPluginSheet"; +} + - (id)init { self = [self initWithWindowNibName:@"AddPluginSheet"]; @@ -58,9 +63,6 @@ if ([EmuThread active]) { return NO; } - - if (![self window]) - [NSBundle loadNibNamed:@"AddPluginSheet" owner:self]; [pluginName setObjectValue:[theFile lastPathComponent]]; -- cgit v1.2.3