for (Torrent * torrent in torrents)
[torrent startTransferNoQueue];
- #warning change to updateTorrentsInQueue?
- [self updateUI];
- [self applyFilter];
- [[fWindow toolbar] validateVisibleItems];
- [self updateTorrentHistory];
+ [self updateTorrentsInQueue];
}
- (void) stopSelectedTorrents: (id) sender
[torrents makeObjectsPerformSelector: @selector(stopTransfer)];
- [self updateUI];
- [self applyFilter];
- [[fWindow toolbar] validateVisibleItems];
- [self updateTorrentHistory];
+ [self updateTorrentsInQueue];
}
- (void) removeTorrents: (NSArray *) torrents deleteData: (BOOL) deleteData
{
tr_torrentStop(fHandle);
[self update];
-
- #warning still needed?
- [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateQueue" object: self];
}
}
- (NSString *) name
{
-#warning remove
- //return [NSString stringWithFormat: @"%d %@", fStat->queuePosition, [NSString stringWithUTF8String: fInfo->name]];
- return fInfo->name != NULL ? [NSString stringWithUTF8String: fInfo->name] : fHashString;
+ return [NSString stringWithFormat: @"%d %@", fStat->queuePosition, [NSString stringWithUTF8String: fInfo->name]];
+ //return fInfo->name != NULL ? [NSString stringWithUTF8String: fInfo->name] : fHashString;
}
- (BOOL) isFolder