From 5b2f85010f18c8a9b86df47308e30fa549c9eeb0 Mon Sep 17 00:00:00 2001 From: Arno Date: Tue, 3 Apr 2018 14:54:25 +0200 Subject: FSWidget: display file icons correctly --- fswidget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fswidget.cpp') diff --git a/fswidget.cpp b/fswidget.cpp index a6073cc..8a74f9c 100644 --- a/fswidget.cpp +++ b/fswidget.cpp @@ -268,9 +268,9 @@ void FSWidget::gatherData(const QString &curDir){ QStandardItem *root = mModel->invisibleRootItem(); QMimeDatabase mimedb; mModel->setHorizontalHeaderLabels(QStringList() << tr("Name") << tr("MIME") << tr("Size") << tr("Duration") << tr("MD5") << tr("Presence")); - QIcon videoIcon = Helper::icon(QColor(255,85,255), Qt::white, true, true, 'M'); - QIcon imageIcon = Helper::icon(QColor(255,85,255), Qt::white, true, true, 'P'); - QIcon otherIcon = Helper::icon(QColor(255,85,255), Qt::white, true, true, 'O'); + 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 greenBrush(Qt::darkGreen); QBrush blueBrush(Qt::darkBlue); -- cgit v1.2.3-70-g09d2