diff --git a/src/PropListDelegate.h b/src/PropListDelegate.h index 155d92c8e..701ef72e0 100644 --- a/src/PropListDelegate.h +++ b/src/PropListDelegate.h @@ -181,6 +181,7 @@ class PropListDelegate: public QItemDelegate { // } else { model->setData(index, QVariant(HIGH)); model->setData(index, QVariant(NORMAL)); + *filteredFilesChanged = true; // } break; case 2: diff --git a/src/bittorrent.cpp b/src/bittorrent.cpp index 95ca619ef..aa3bdca4c 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -708,6 +708,7 @@ void bittorrent::loadTorrentSpeedLimits(QString hash) { // Read pieces priorities from .priorities file // and ask QTorrentHandle to consider them void bittorrent::loadFilesPriorities(QTorrentHandle &h) { + qDebug("Applying pieces priorities"); if(!h.is_valid()) { qDebug("/!\\ Error: Invalid handle"); return; diff --git a/src/properties_imp.cpp b/src/properties_imp.cpp index b322b0e7f..ffd8c37a5 100644 --- a/src/properties_imp.cpp +++ b/src/properties_imp.cpp @@ -304,6 +304,7 @@ bool properties::allFiltered() const { void properties::getPriorities(QStandardItem *parent, int *priorities) { + qDebug("In getPriorities"); unsigned int nbRows = parent->rowCount(); for(unsigned int i=0; ichild(i, INDEX); @@ -313,6 +314,7 @@ void properties::getPriorities(QStandardItem *parent, int *priorities) { } else { item = parent->child(i, PRIORITY); priorities[index] = item->text().toInt(); + qDebug("File at index %d has priority %d", index, priorities[index]); } } }