Ignore:
Timestamp:
Oct 6, 2011, 2:16:19 AM (11 years ago)
Author:
livings124
Message:

remove most instances of deprecated filename and filenames methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r12940 r12943  
    14461446    {
    14471447        for (Torrent * torrent in torrents)
    1448             [torrent moveTorrentDataFileTo: [[panel filenames] objectAtIndex: 0]];
     1448            [torrent moveTorrentDataFileTo: [[[panel URLs] objectAtIndex: 0] path]];
    14491449    }
    14501450   
     
    15021502    //copy torrent to new location with name of data file
    15031503    if (code == NSOKButton)
    1504         [[torrents objectAtIndex: 0] copyTorrentFileTo: [panel filename]];
     1504        [[torrents objectAtIndex: 0] copyTorrentFileTo: [[panel URL] path]];
    15051505   
    15061506    [torrents removeObjectAtIndex: 0];
Note: See TracChangeset for help on using the changeset viewer.