Get rid of some warnings I added.
This commit is contained in:
parent
23c13fc293
commit
9765084794
|
@ -178,7 +178,6 @@
|
||||||
|
|
||||||
- (void) toggleAdvancedBar: (id) sender;
|
- (void) toggleAdvancedBar: (id) sender;
|
||||||
|
|
||||||
- (void) setAutoSize: (NSNotification *) notification;
|
|
||||||
- (void) setWindowSizeToFit;
|
- (void) setWindowSizeToFit;
|
||||||
- (NSRect) windowFrameForAmount: (int) amount;
|
- (NSRect) windowFrameForAmount: (int) amount;
|
||||||
|
|
||||||
|
|
|
@ -305,7 +305,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
||||||
[nc addObserver: self selector: @selector(autoImportChange:)
|
[nc addObserver: self selector: @selector(autoImportChange:)
|
||||||
name: @"AutoImportSettingChange" object: nil];
|
name: @"AutoImportSettingChange" object: nil];
|
||||||
|
|
||||||
[nc addObserver: self selector: @selector(setAutoSize:)
|
[nc addObserver: self selector: @selector(setWindowSizeToFit)
|
||||||
name: @"AutoSizeSettingChange" object: nil];
|
name: @"AutoSizeSettingChange" object: nil];
|
||||||
|
|
||||||
//check to start another because of stopped torrent
|
//check to start another because of stopped torrent
|
||||||
|
@ -341,9 +341,6 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
||||||
|
|
||||||
[self applyFilter: nil];
|
[self applyFilter: nil];
|
||||||
|
|
||||||
#warning repetitive
|
|
||||||
[self setAutoSize: nil];
|
|
||||||
|
|
||||||
[fWindow makeKeyAndOrderFront: nil];
|
[fWindow makeKeyAndOrderFront: nil];
|
||||||
|
|
||||||
//load info for no torrents
|
//load info for no torrents
|
||||||
|
@ -2122,12 +2119,6 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
||||||
return frame;
|
return frame;
|
||||||
}
|
}
|
||||||
|
|
||||||
#warning remove?
|
|
||||||
- (void) setAutoSize: (NSNotification *) notification
|
|
||||||
{
|
|
||||||
[self setWindowSizeToFit];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void) setWindowSizeToFit
|
- (void) setWindowSizeToFit
|
||||||
{
|
{
|
||||||
if ([fDefaults boolForKey: @"AutoSize"])
|
if ([fDefaults boolForKey: @"AutoSize"])
|
||||||
|
|
Loading…
Reference in New Issue