mirror of
https://github.com/transmission/transmission
synced 2025-02-18 20:30:43 +00:00
More straightforward array creation.
This commit is contained in:
parent
c96d7422fa
commit
fedca946d8
1 changed files with 2 additions and 2 deletions
|
@ -103,9 +103,9 @@
|
||||||
Torrent * torrent = [fTorrents objectAtIndex: row];
|
Torrent * torrent = [fTorrents objectAtIndex: row];
|
||||||
|
|
||||||
if ([torrent isPaused])
|
if ([torrent isPaused])
|
||||||
[fController resumeTorrents: [fController torrentsAtIndexes: [NSIndexSet indexSetWithIndex: row]]];
|
[fController resumeTorrents: [NSArray arrayWithObject: torrent]];
|
||||||
else if ([torrent isActive])
|
else if ([torrent isActive])
|
||||||
[fController stopTorrents: [fController torrentsAtIndexes: [NSIndexSet indexSetWithIndex: row]]];
|
[fController stopTorrents: [NSArray arrayWithObject: torrent]];
|
||||||
else;
|
else;
|
||||||
}
|
}
|
||||||
else if (sameRow && [self pointInRevealRect: point] && [self pointInRevealRect: fClickPoint])
|
else if (sameRow && [self pointInRevealRect: point] && [self pointInRevealRect: fClickPoint])
|
||||||
|
|
Loading…
Reference in a new issue