Browse Source

- Upload queueing should now work a lot better :)

adaptive-webui-19844
Christophe Dumez 17 years ago
parent
commit
5fef86ec18
  1. 2
      src/FinishedTorrents.cpp

2
src/FinishedTorrents.cpp

@ -249,7 +249,7 @@ void FinishedTorrents::updateFinishedList(){
Q_ASSERT(row != -1); Q_ASSERT(row != -1);
// Update priority // Update priority
if(BTSession->isQueueingEnabled()) { if(BTSession->isQueueingEnabled()) {
finishedListModel->setData(finishedListModel->index(row, F_PRIORITY), QVariant((int)BTSession->getDlTorrentPriority(hash))); finishedListModel->setData(finishedListModel->index(row, F_PRIORITY), QVariant((int)BTSession->getUpTorrentPriority(hash)));
if(h.is_paused() && BTSession->isUploadQueued(hash)) { if(h.is_paused() && BTSession->isUploadQueued(hash)) {
finishedListModel->setData(finishedListModel->index(row, F_NAME), QVariant(QIcon(QString::fromUtf8(":/Icons/skin/queued.png"))), Qt::DecorationRole); finishedListModel->setData(finishedListModel->index(row, F_NAME), QVariant(QIcon(QString::fromUtf8(":/Icons/skin/queued.png"))), Qt::DecorationRole);
setRowColor(row, QString::fromUtf8("grey")); setRowColor(row, QString::fromUtf8("grey"));

Loading…
Cancel
Save