Changeset 7082


Ignore:
Timestamp:
Nov 9, 2008, 2:14:33 PM (12 years ago)
Author:
livings124
Message:

fix a crasher by setting the default download directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r7077 r7082  
    212212        fLib = tr_sessionInitFull(NULL, /* use default config directory (Application Support) */
    213213                                "macosx",
    214                                 NULL, /* download directory set when adding transfers */
     214#warning update when changing in prefs
     215                                TR_DEFAULT_CONFIG_DIR, /* download directory set when adding transfers */
    215216                                [fDefaults boolForKey: @"PEXGlobal"],
    216217                                [fDefaults boolForKey: @"NatTraversal"],
     
    42474248    {
    42484249        case TR_RPC_TORRENT_ADDED:
    4249             [self performSelectorOnMainThread: @selector(rpcAddTorrentStruct:) withObject:
     4250                [self performSelectorOnMainThread: @selector(rpcAddTorrentStruct:) withObject:
    42504251                [[NSValue valueWithPointer: torrentStruct] retain] waitUntilDone: NO];
    42514252            break;
Note: See TracChangeset for help on using the changeset viewer.