Moved Spotlight Window nib loading code.

CQTexperiment
matthewleon 2008-02-15 22:47:27 +00:00
parent 0126a58679
commit ad976c9edf
2 changed files with 2 additions and 2 deletions

View File

@ -244,7 +244,7 @@ increase/decrease as long as the user holds the left/right, plus/minus button */
[self registerHotKeys];
[spotlightWindowController initWithWindowNibName:@"SpotlightPanel"];
[spotlightWindowController init];
//Init Remote
if ([[NSUserDefaults standardUserDefaults] boolForKey:@"remoteEnabled"] && ![[NSUserDefaults standardUserDefaults] boolForKey:@"remoteOnlyOnActive"]) {

View File

@ -38,7 +38,7 @@ static NSPredicate * musicOnlyPredicate = nil;
- (id)init
{
if (self = [super init]) {
if (self = [super initWithWindowNibName:@"SpotlightPanel"]) {
self.query = [[NSMetadataQuery alloc] init];
[self.query setDelegate:self];
}