Moved Spotlight Window nib loading code.
parent
0126a58679
commit
ad976c9edf
|
@ -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"]) {
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue