Ignore:
Timestamp:
04/03/09 21:17:30 (11 years ago)
Author:
Eoin
Message:

Cleaning up torrent removal code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/HaliteWindow.cpp

    r720 r739  
    363363         
    364364        wpath file(lpszPath, boost::filesystem::native);         
    365         hal::bittorrent().add_torrent(file, wpath(default_save_folder), startPaused, managed, allocation_type,  
    366                 wpath(default_move_folder), use_move_to); 
     365 
     366        if (use_move_to) 
     367                hal::bittorrent().add_torrent(file, wpath(default_save_folder), startPaused, managed, allocation_type,  
     368                        wpath(default_move_folder)); 
     369        else 
     370                hal::bittorrent().add_torrent(file, wpath(default_save_folder), startPaused, managed, allocation_type); 
    367371 
    368372        issueUiUpdate(); 
Note: See TracChangeset for help on using the changeset viewer.