From c4dbf9f8be2f558cdea224ec2acb5af8dae8b5f5 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sat, 20 Feb 2010 14:43:25 +0000 Subject: [PATCH] dead code removal --- macosx/Controller.m | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index 8d9711fa3..d42563c95 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -1003,27 +1003,6 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy [dict release]; } -- (void) incompleteChoiceClosed: (NSOpenPanel *) openPanel returnCode: (NSInteger) code contextInfo: (NSDictionary *) dictionary -{ - if (code == NSOKButton) - [fDefaults setObject: [[openPanel filenames] objectAtIndex: 0] forKey: @"IncompleteDownloadFolder"]; - else - [fDefaults setBool: NO forKey: @"UseIncompleteDownloadFolder"]; - - [self performSelectorOnMainThread: @selector(openFilesWithDict:) withObject: dictionary waitUntilDone: NO]; -} - -- (void) downloadChoiceClosed: (NSOpenPanel *) openPanel returnCode: (NSInteger) code contextInfo: (NSDictionary *) dictionary -{ - if (code == NSOKButton) - { - [fDefaults setObject: [[openPanel filenames] objectAtIndex: 0] forKey: @"DownloadFolder"]; - [self performSelectorOnMainThread: @selector(openFilesWithDict:) withObject: dictionary waitUntilDone: NO]; - } - else - [dictionary release]; -} - - (void) openFilesWithDict: (NSDictionary *) dictionary { [self openFiles: [dictionary objectForKey: @"Filenames"] addType: [[dictionary objectForKey: @"AddType"] intValue] forcePath: nil]; @@ -4046,8 +4025,6 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy //resume sleeping transfers after we wake up for (Torrent * torrent in fTorrents) [torrent wakeUp]; - #warning check speed limit timer? - //[self autoSpeedLimitChange: nil]; break; } }