summaryrefslogtreecommitdiffstats
path: root/fswidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fswidget.cpp')
-rw-r--r--fswidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fswidget.cpp b/fswidget.cpp
index ddda387..e7e7278 100644
--- a/fswidget.cpp
+++ b/fswidget.cpp
@@ -311,7 +311,7 @@ void FSWidget::gatherData(const QString &curDir){
QIcon videoIcon = Helper::icon(QColor(255,85,255), Qt::white, 'M', true, true);
QIcon imageIcon = Helper::icon(QColor(255,85,255), Qt::white, 'P', true, true);
QIcon otherIcon = Helper::icon(QColor(255,85,255), Qt::white, 'O', true, true);
- QBrush blackBrush(Qt::black);
+ QBrush defaultBrush(qApp->palette().brush(QPalette::Text));
QBrush greenBrush(Qt::darkGreen);
QBrush blueBrush(Qt::darkBlue);
@@ -333,7 +333,7 @@ void FSWidget::gatherData(const QString &curDir){
QDirIterator it(curDir, QDir::Files);
mFileView->setUpdatesEnabled(false);
while(it.hasNext()){
- QBrush currentBrush = blackBrush;
+ QBrush currentBrush = defaultBrush;
QFileInfo fi = it.next();
++fileCount;
QMimeType mimeType = mimedb.mimeTypeForFile(fi);