Ignore:
Timestamp:
Sep 27, 2011, 1:37:41 AM (10 years ago)
Author:
livings124
Message:

#4512 Groups-based custom locations over RPC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r12897 r12923  
    41914191    Torrent * torrent = [[Torrent alloc] initWithTorrentStruct: torrentStruct location: location lib: fLib];
    41924192   
     4193    //change the location if the group calls for it (this has to wait until after the torrent is created)
     4194    if ([[GroupsController groups] usesCustomDownloadLocationForIndex: [torrent groupValue]])
     4195    {
     4196        location = [[GroupsController groups] customDownloadLocationForIndex: [torrent groupValue]];
     4197        [torrent changeDownloadFolderBeforeUsing: location];
     4198    }
     4199   
    41934200    [torrent update];
    41944201    [fTorrents addObject: torrent];
Note: See TracChangeset for help on using the changeset viewer.