From fe8d5a3528337691c3b266306ee7855e4723426f Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 8 Feb 2010 18:49:04 +0000 Subject: [PATCH] - Fix file prioritizing in a torrent --- src/proplistdelegate.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/proplistdelegate.h b/src/proplistdelegate.h index 6d852df94..0f034c8e3 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 {