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(){ @@ -249,7 +249,7 @@ void FinishedTorrents::updateFinishedList(){
Q_ASSERT(row != -1);
// Update priority
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)) {
finishedListModel->setData(finishedListModel->index(row, F_NAME), QVariant(QIcon(QString::fromUtf8(":/Icons/skin/queued.png"))), Qt::DecorationRole);
setRowColor(row, QString::fromUtf8("grey"));

Loading…
Cancel
Save