remove unneeded function
This commit is contained in:
parent
82863e13b8
commit
469214cde4
|
@ -954,8 +954,6 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
|||
if ([lowestOrderValue compare: currentOrderValue] == NSOrderedDescending)
|
||||
lowestOrderValue = currentOrderValue;
|
||||
|
||||
[torrent removeForever];
|
||||
|
||||
[fTorrents removeObject: torrent];
|
||||
[fDisplayedTorrents removeObject: torrent];
|
||||
}
|
||||
|
|
|
@ -77,7 +77,6 @@
|
|||
- (void) startTransfer;
|
||||
- (void) stopTransfer;
|
||||
- (void) stopTransferForQuit;
|
||||
- (void) removeForever;
|
||||
- (void) sleep;
|
||||
- (void) wakeUp;
|
||||
|
||||
|
|
|
@ -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]))
|
||||
|
|
Loading…
Reference in New Issue