1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

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

This commit is contained in:
Christophe Dumez 2007-11-24 23:39:44 +00:00
parent b24a1e9123
commit f3c8889865

View File

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