From f3c888986531b05100732797ea85e40fe7d1c00a Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sat, 24 Nov 2007 23:39:44 +0000 Subject: [PATCH] - Should fixed text color for stalled torrents when using a dark theme --- src/downloadingTorrents.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/downloadingTorrents.cpp b/src/downloadingTorrents.cpp index b87a9f595..cd7f13ac1 100644 --- a/src/downloadingTorrents.cpp +++ b/src/downloadingTorrents.cpp @@ -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()));