mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
Use setBool: and setInt: for setting defaults instead of first changing
to strings Put default settings in a plist
This commit is contained in:
@@ -313,7 +313,7 @@ static void sleepCallBack( void * controller, io_service_t y,
|
||||
if( [downloadChoice isEqualToString: @"Constant"] )
|
||||
{
|
||||
tr_torrentSetFolder( fHandle, tr_torrentCount( fHandle ) - 1,
|
||||
[downloadFolder UTF8String] );
|
||||
[[downloadFolder stringByExpandingTildeInPath] UTF8String] );
|
||||
tr_torrentStart( fHandle, tr_torrentCount( fHandle ) - 1 );
|
||||
}
|
||||
else if( [downloadChoice isEqualToString: @"Torrent"] )
|
||||
|
||||
Reference in New Issue
Block a user