Browse Source

- Updated queued icon

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
600308aaa1
  1. BIN
      src/Icons/skin/queued.png
  2. 2
      src/downloadingTorrents.cpp

BIN
src/Icons/skin/queued.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 711 B

After

Width:  |  Height:  |  Size: 493 B

2
src/downloadingTorrents.cpp

@ -556,7 +556,7 @@ void DownloadingTorrents::updateDlList() {
DLListModel->setData(DLListModel->index(row, PRIORITY), QVariant((int)BTSession->getDlTorrentPriority(hash))); DLListModel->setData(DLListModel->index(row, PRIORITY), QVariant((int)BTSession->getDlTorrentPriority(hash)));
if(h.is_paused() && BTSession->isDownloadQueued(hash)) { if(h.is_paused() && BTSession->isDownloadQueued(hash)) {
qDebug("Download queued"); qDebug("Download queued");
DLListModel->setData(DLListModel->index(row, NAME), QVariant(QIcon(QString::fromUtf8(":/Icons/time.png"))), Qt::DecorationRole); DLListModel->setData(DLListModel->index(row, NAME), QVariant(QIcon(QString::fromUtf8(":/Icons/skin/queued.png"))), Qt::DecorationRole);
if(!downloadList->isColumnHidden(ETA)) { if(!downloadList->isColumnHidden(ETA)) {
DLListModel->setData(DLListModel->index(row, ETA), QVariant((qlonglong)-1)); DLListModel->setData(DLListModel->index(row, ETA), QVariant((qlonglong)-1));
} }

Loading…
Cancel
Save