set a better default download location for the web ui

This commit is contained in:
Mitchell Livingston 2008-11-09 14:17:44 +00:00
parent 6aad895ce4
commit c17d8bd156
1 changed files with 1 additions and 2 deletions

View File

@ -211,8 +211,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
fLib = tr_sessionInitFull(NULL, /* use default config directory (Application Support) */ fLib = tr_sessionInitFull(NULL, /* use default config directory (Application Support) */
"macosx", "macosx",
#warning update when changing in prefs [@"~/Downloads" stringByExpandingTildeInPath],
TR_DEFAULT_CONFIG_DIR, /* download directory set when adding transfers */
[fDefaults boolForKey: @"PEXGlobal"], [fDefaults boolForKey: @"PEXGlobal"],
[fDefaults boolForKey: @"NatTraversal"], [fDefaults boolForKey: @"NatTraversal"],
[fDefaults integerForKey: @"BindPort"], [fDefaults integerForKey: @"BindPort"],