Browse Source

- Should fixed text color for stalled torrents when using a dark theme

adaptive-webui-19844
Christophe Dumez 17 years ago
parent
commit
f3c8889865
  1. 2
      src/downloadingTorrents.cpp

2
src/downloadingTorrents.cpp

@ -606,7 +606,7 @@ void DownloadingTorrents::updateDlList() {
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));
} }
setRowColor(row, QPalette::WindowText); setRowColor(row, QApplication::palette().color(QPalette::WindowText));
} }
if(!downloadList->isColumnHidden(PROGRESS)) { if(!downloadList->isColumnHidden(PROGRESS)) {
DLListModel->setData(DLListModel->index(row, PROGRESS), QVariant((double)h.progress())); DLListModel->setData(DLListModel->index(row, PROGRESS), QVariant((double)h.progress()));

Loading…
Cancel
Save