From de9e2154045186b03b796f4a0bb003f4423ae31d Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 8 Feb 2010 18:52:43 +0000 Subject: [PATCH] BUGFIX: Fix file prioritizing in a torrent --- Changelog | 1 + src/proplistdelegate.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Changelog b/Changelog index afe363062..a025fad4e 100644 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ * Unreleased - Christophe Dumez - v2.1.4 + - BUGFIX: Fix file prioritizing in a torrent - BUGFIX: Make sure seeding torrents display a progress of 100% - BUGFIX: Usage display was improved and localized (--help) - BUGFIX: Fix possible crash when deleting a torrent diff --git a/src/proplistdelegate.h b/src/proplistdelegate.h index 8db9c48f1..f73e4751d 100644 --- a/src/proplistdelegate.h +++ b/src/proplistdelegate.h @@ -155,6 +155,7 @@ public slots: void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const { QComboBox *combobox = static_cast(editor); int value = combobox->currentIndex(); + qDebug("PropListDelegate: setModelData(%d)", value); switch(value) { case 1: model->setData(index, 2); // HIGH @@ -165,6 +166,7 @@ public slots: default: model->setData(index, 1); // NORMAL } + emit filteredFilesChanged(); } void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &/* index */) const {