remove unneeded function

This commit is contained in:
Mitchell Livingston 2006-12-26 22:33:02 +00:00
parent 82863e13b8
commit 469214cde4
3 changed files with 2 additions and 8 deletions

View File

@ -953,8 +953,6 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
currentOrderValue = [torrent orderValue];
if ([lowestOrderValue compare: currentOrderValue] == NSOrderedDescending)
lowestOrderValue = currentOrderValue;
[torrent removeForever];
[fTorrents removeObject: torrent];
[fDisplayedTorrents removeObject: torrent];

View File

@ -77,7 +77,6 @@
- (void) startTransfer;
- (void) stopTransfer;
- (void) stopTransferForQuit;
- (void) removeForever;
- (void) sleep;
- (void) wakeUp;

View File

@ -158,6 +158,8 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
if (fPublicTorrentLocation)
[fPublicTorrentLocation release];
tr_torrentRemoveSaved(fHandle);
[fDate release];
if (fAnnounceDate)
@ -448,11 +450,6 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
tr_torrentStop(fHandle);
}
- (void) removeForever
{
tr_torrentRemoveSaved(fHandle);
}
- (void) sleep
{
if ((fResumeOnWake = [self isActive]))