Changeset 8153


Ignore:
Timestamp:
Apr 5, 2009, 5:48:03 PM (12 years ago)
Author:
livings124
Message:

warnings--

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r8127 r8153  
    245245        tr_bencDictAddBool(&settings, TR_PREFS_KEY_BLOCKLIST_ENABLED, [fDefaults boolForKey: @"Blocklist"]);
    246246       
    247         #warning update when changing in prefs
    248247        tr_bencDictAddStr(&settings, TR_PREFS_KEY_DOWNLOAD_DIR, [[[fDefaults stringForKey: @"DownloadFolder"]
    249248                                                                    stringByExpandingTildeInPath] UTF8String]);
  • trunk/macosx/PrefsController.m

    r8150 r8153  
    12361236    [fDefaults setInteger: upLimit forKey: @"UploadLimit"];
    12371237   
    1238     #warning fix
    12391238    //alt speed limit enabled
    12401239    const BOOL useAltSpeed = tr_sessionUsesAltSpeed(fHandle);
     
    13841383    {
    13851384        [fFolderPopUp selectItemAtIndex: DOWNLOAD_FOLDER];
    1386         [fDefaults setObject: [[openPanel filenames] objectAtIndex: 0] forKey: @"DownloadFolder"];
     1385       
     1386        NSString * folder = [[openPanel filenames] objectAtIndex: 0];
     1387        [fDefaults setObject: folder forKey: @"DownloadFolder"];
    13871388        [fDefaults setObject: @"Constant" forKey: @"DownloadChoice"];
     1389       
     1390        tr_sessionSetDownloadDir(fHandle, [folder UTF8String]);
    13881391    }
    13891392    else
Note: See TracChangeset for help on using the changeset viewer.