- COSMETIC: Use more skin colors instead of hard coded ones

This commit is contained in:
Christophe Dumez
2007-11-24 23:50:27 +00:00
parent 4ba2c3d385
commit 48aac758c9
4 changed files with 4 additions and 3 deletions

View File

@@ -414,7 +414,7 @@ void DownloadingTorrents::updateDlList() {
}else{
DLListModel->setData(DLListModel->index(row, NAME), QVariant(QIcon(QString::fromUtf8(":/Icons/skin/stalled.png"))), Qt::DecorationRole);
DLListModel->setData(DLListModel->index(row, ETA), QVariant((qlonglong)-1));
setRowColor(row, QPalette::WindowText);
setRowColor(row, QApplication::palette().color(QPalette::WindowText));
}
DLListModel->setData(DLListModel->index(row, PROGRESS), QVariant((double)h.progress()));
DLListModel->setData(DLListModel->index(row, DLSPEED), QVariant((double)h.download_payload_rate()));