From 9ca02aad88aa9593a0602ee4504155cd5162bc94 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 30 Oct 2007 21:29:15 +0000 Subject: [PATCH] - BUGFIX: Fixed a bug in children update when changing files priorities --- TODO | 1 + src/PropListDelegate.h | 12 ++++++------ src/src.pro | 4 ++-- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/TODO b/TODO index e6a47121b..cbca6f5ec 100644 --- a/TODO +++ b/TODO @@ -59,4 +59,5 @@ rc6->rc7 changelog: - BUGFIX: Catching DHT exception in case there is a problem - BUGFIX: Removed build dependency on Python +- BUGFIX: Fixed a bug in children update when changing files priorities - I18N: Updated Turkish translation \ No newline at end of file diff --git a/src/PropListDelegate.h b/src/PropListDelegate.h index adf81daef..155d92c8e 100644 --- a/src/PropListDelegate.h +++ b/src/PropListDelegate.h @@ -174,14 +174,14 @@ class PropListDelegate: public QItemDelegate { } break; case 1: - if(old_val != NORMAL){ - model->setData(index, QVariant(NORMAL)); - if(filteredFilesChanged != 0) - *filteredFilesChanged = true; - } else { +// if(old_val != NORMAL){ +// model->setData(index, QVariant(NORMAL)); +// if(filteredFilesChanged != 0) +// *filteredFilesChanged = true; +// } else { model->setData(index, QVariant(HIGH)); model->setData(index, QVariant(NORMAL)); - } +// } break; case 2: if(old_val != HIGH){ diff --git a/src/src.pro b/src/src.pro index 1152b68a6..8bc9afac1 100644 --- a/src/src.pro +++ b/src/src.pro @@ -3,7 +3,7 @@ LANG_PATH = lang ICONS_PATH = Icons #Set the following variable to 1 to enable debug -DEBUG_MODE = 0 +DEBUG_MODE = 1 # Global TEMPLATE = app @@ -30,7 +30,7 @@ contains(DEBUG_MODE, 0){ # For libtorrent stuff # (comment this if you are using libtorrent with debug enabled) -DEFINES += NDEBUG +#DEFINES += NDEBUG # Install