first go at bringing the libT queue to the Mac client

This commit is contained in:
Mitchell Livingston
2011-08-02 12:43:26 +00:00
parent 307754e807
commit cd5b9b16fd
7 changed files with 134 additions and 161 deletions

View File

@@ -287,13 +287,14 @@
{
[fTimer invalidate];
fTimer = nil;
[fTorrent setWaitToStart: [fStartCheck state] == NSOnState];
[fTorrent setGroupValue: fGroupValue];
if (fTorrentFile && [fDeleteCheck state] == NSOnState)
[Torrent trashFile: fTorrentFile];
if ([fStartCheck state] == NSOnState)
[fTorrent startTransfer];
[fFileController setTorrent: nil]; //avoid a crash when window tries to update
[self close];