mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
** BIG COMMIT **
- Fixed a bug in options (scan dir widget were not initialized well, still disabled when they shouldn't) - Fixed a bug in scan dir (doesn't display torrent addition dialog several times for the same torrent if we don't close the dialog before next scan refresh - Splitted GUI from Bittorrent, lot of code rewritten and optimized. Code changed so much that we will spend the next few days squashing eventual new bugs ;) - We don't use the hash table to store the torrent handles anymore because libtorrent is already doing it for us (save memory)
This commit is contained in:
@@ -317,10 +317,14 @@ void options_imp::loadOptions(){
|
||||
strValue = settings.value("ScanDir", QString()).toString();
|
||||
if(!strValue.isEmpty()){
|
||||
enableScan_checkBox->setChecked(true);
|
||||
lbl_scanDir->setEnabled(true);
|
||||
scanDir->setEnabled(true);
|
||||
browse_button_scan->setEnabled(true);
|
||||
scanDir->setText(strValue);
|
||||
}else{
|
||||
enableScan_checkBox->setChecked(false);
|
||||
lbl_scanDir->setEnabled(false);
|
||||
browse_button_scan->setEnabled(false);
|
||||
scanDir->setEnabled(false);
|
||||
}
|
||||
// End Main options
|
||||
|
||||
Reference in New Issue
Block a user