mirror of
https://github.com/transmission/transmission
synced 2025-03-04 10:38:13 +00:00
Get rid of some warnings I added.
This commit is contained in:
parent
23c13fc293
commit
9765084794
2 changed files with 1 additions and 11 deletions
|
@ -178,7 +178,6 @@
|
|||
|
||||
- (void) toggleAdvancedBar: (id) sender;
|
||||
|
||||
- (void) setAutoSize: (NSNotification *) notification;
|
||||
- (void) setWindowSizeToFit;
|
||||
- (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:)
|
||||
name: @"AutoImportSettingChange" object: nil];
|
||||
|
||||
[nc addObserver: self selector: @selector(setAutoSize:)
|
||||
[nc addObserver: self selector: @selector(setWindowSizeToFit)
|
||||
name: @"AutoSizeSettingChange" object: nil];
|
||||
|
||||
//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];
|
||||
|
||||
#warning repetitive
|
||||
[self setAutoSize: nil];
|
||||
|
||||
[fWindow makeKeyAndOrderFront: nil];
|
||||
|
||||
//load info for no torrents
|
||||
|
@ -2122,12 +2119,6 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
|||
return frame;
|
||||
}
|
||||
|
||||
#warning remove?
|
||||
- (void) setAutoSize: (NSNotification *) notification
|
||||
{
|
||||
[self setWindowSizeToFit];
|
||||
}
|
||||
|
||||
- (void) setWindowSizeToFit
|
||||
{
|
||||
if ([fDefaults boolForKey: @"AutoSize"])
|
||||
|
|
Loading…
Add table
Reference in a new issue