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)
|
if ([lowestOrderValue compare: currentOrderValue] == NSOrderedDescending)
|
||||||
lowestOrderValue = currentOrderValue;
|
lowestOrderValue = currentOrderValue;
|
||||||
|
|
||||||
[torrent removeForever];
|
|
||||||
|
|
||||||
[fTorrents removeObject: torrent];
|
[fTorrents removeObject: torrent];
|
||||||
[fDisplayedTorrents removeObject: torrent];
|
[fDisplayedTorrents removeObject: torrent];
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,7 +77,6 @@
|
||||||
- (void) startTransfer;
|
- (void) startTransfer;
|
||||||
- (void) stopTransfer;
|
- (void) stopTransfer;
|
||||||
- (void) stopTransferForQuit;
|
- (void) stopTransferForQuit;
|
||||||
- (void) removeForever;
|
|
||||||
- (void) sleep;
|
- (void) sleep;
|
||||||
- (void) wakeUp;
|
- (void) wakeUp;
|
||||||
|
|
||||||
|
|
|
@ -158,6 +158,8 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
|
||||||
if (fPublicTorrentLocation)
|
if (fPublicTorrentLocation)
|
||||||
[fPublicTorrentLocation release];
|
[fPublicTorrentLocation release];
|
||||||
|
|
||||||
|
tr_torrentRemoveSaved(fHandle);
|
||||||
|
|
||||||
[fDate release];
|
[fDate release];
|
||||||
|
|
||||||
if (fAnnounceDate)
|
if (fAnnounceDate)
|
||||||
|
@ -448,11 +450,6 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
|
||||||
tr_torrentStop(fHandle);
|
tr_torrentStop(fHandle);
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) removeForever
|
|
||||||
{
|
|
||||||
tr_torrentRemoveSaved(fHandle);
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void) sleep
|
- (void) sleep
|
||||||
{
|
{
|
||||||
if ((fResumeOnWake = [self isActive]))
|
if ((fResumeOnWake = [self isActive]))
|
||||||
|
|
Loading…
Reference in New Issue