mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07: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:
parent
dc89c5d381
commit
bd3bde919d
10 changed files with 511 additions and 844 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue