summaryrefslogtreecommitdiffstats
path: root/fswidget.cpp
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-04-03 14:54:25 +0200
committerArno <arno@disconnect.de>2018-04-03 14:54:25 +0200
commit5b2f85010f18c8a9b86df47308e30fa549c9eeb0 (patch)
tree5c35e88afe231cad0aed4af7af06f47a7e85e962 /fswidget.cpp
parent0d2eb533f18dbd2330f5bd48b6a154a3c87b84d2 (diff)
downloadSheMov-5b2f85010f18c8a9b86df47308e30fa549c9eeb0.tar.gz
SheMov-5b2f85010f18c8a9b86df47308e30fa549c9eeb0.tar.bz2
SheMov-5b2f85010f18c8a9b86df47308e30fa549c9eeb0.zip
FSWidget: display file icons correctly
Diffstat (limited to 'fswidget.cpp')
-rw-r--r--fswidget.cpp6
1 files changed, 3 insertions, 3 deletions
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);