1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-10 14:57:52 +00:00

- BUGFIX: Fixed a bug in children update when changing files priorities

This commit is contained in:
Christophe Dumez 2007-10-30 21:29:15 +00:00
parent 8ea34135e4
commit 9ca02aad88
3 changed files with 9 additions and 8 deletions

1
TODO
View File

@ -59,4 +59,5 @@
rc6->rc7 changelog: rc6->rc7 changelog:
- BUGFIX: Catching DHT exception in case there is a problem - BUGFIX: Catching DHT exception in case there is a problem
- BUGFIX: Removed build dependency on Python - BUGFIX: Removed build dependency on Python
- BUGFIX: Fixed a bug in children update when changing files priorities
- I18N: Updated Turkish translation - I18N: Updated Turkish translation

View File

@ -174,14 +174,14 @@ class PropListDelegate: public QItemDelegate {
} }
break; break;
case 1: case 1:
if(old_val != NORMAL){ // if(old_val != NORMAL){
model->setData(index, QVariant(NORMAL)); // model->setData(index, QVariant(NORMAL));
if(filteredFilesChanged != 0) // if(filteredFilesChanged != 0)
*filteredFilesChanged = true; // *filteredFilesChanged = true;
} else { // } else {
model->setData(index, QVariant(HIGH)); model->setData(index, QVariant(HIGH));
model->setData(index, QVariant(NORMAL)); model->setData(index, QVariant(NORMAL));
} // }
break; break;
case 2: case 2:
if(old_val != HIGH){ if(old_val != HIGH){

View File

@ -3,7 +3,7 @@ LANG_PATH = lang
ICONS_PATH = Icons ICONS_PATH = Icons
#Set the following variable to 1 to enable debug #Set the following variable to 1 to enable debug
DEBUG_MODE = 0 DEBUG_MODE = 1
# Global # Global
TEMPLATE = app TEMPLATE = app
@ -30,7 +30,7 @@ contains(DEBUG_MODE, 0){
# For libtorrent stuff # For libtorrent stuff
# (comment this if you are using libtorrent with debug enabled) # (comment this if you are using libtorrent with debug enabled)
DEFINES += NDEBUG #DEFINES += NDEBUG
# Install # Install