Changeset 557


Ignore:
Timestamp:
Jul 9, 2006, 3:22:20 PM (16 years ago)
Author:
livings124
Message:

More straightforward array creation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/TorrentTableView.m

    r554 r557  
    104104
    105105                if ([torrent isPaused])
    106                         [fController resumeTorrents: [fController torrentsAtIndexes: [NSIndexSet indexSetWithIndex: row]]];
     106                        [fController resumeTorrents: [NSArray arrayWithObject: torrent]];
    107107                else if ([torrent isActive])
    108             [fController stopTorrents: [fController torrentsAtIndexes: [NSIndexSet indexSetWithIndex: row]]];
     108            [fController stopTorrents: [NSArray arrayWithObject: torrent]];
    109109                else;
    110110    }
Note: See TracChangeset for help on using the changeset viewer.