1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

More straightforward array creation.

This commit is contained in:
Mitchell Livingston 2006-07-09 15:22:20 +00:00
parent c96d7422fa
commit fedca946d8

View file

@ -103,9 +103,9 @@
Torrent * torrent = [fTorrents objectAtIndex: row];
if ([torrent isPaused])
[fController resumeTorrents: [fController torrentsAtIndexes: [NSIndexSet indexSetWithIndex: row]]];
[fController resumeTorrents: [NSArray arrayWithObject: torrent]];
else if ([torrent isActive])
[fController stopTorrents: [fController torrentsAtIndexes: [NSIndexSet indexSetWithIndex: row]]];
[fController stopTorrents: [NSArray arrayWithObject: torrent]];
else;
}
else if (sameRow && [self pointInRevealRect: point] && [self pointInRevealRect: fClickPoint])