mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
attempt to fix #1293
This commit is contained in:
parent
d75410656d
commit
89b6c61326
1 changed files with 2 additions and 1 deletions
|
@ -246,7 +246,6 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
|||
[PrefsController setHandle: fLib];
|
||||
fPrefsController = [[PrefsController alloc] init];
|
||||
|
||||
fBadger = [[Badger alloc] initWithLib: fLib];
|
||||
[QuickLookController quickLookControllerInitializeWithController: self infoController: fInfoController];
|
||||
|
||||
fSoundPlaying = NO;
|
||||
|
@ -274,6 +273,8 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
|||
|
||||
- (void) awakeFromNib
|
||||
{
|
||||
fBadger = [[Badger alloc] initWithLib: fLib];
|
||||
|
||||
NSToolbar * toolbar = [[NSToolbar alloc] initWithIdentifier: @"TRMainToolbar"];
|
||||
[toolbar setDelegate: self];
|
||||
[toolbar setAllowsUserCustomization: YES];
|
||||
|
|
Loading…
Reference in a new issue