summaryrefslogtreecommitdiffstats
path: root/filepropertiesdialog.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2013-03-17 13:18:09 +0100
committerArno <am@disconnect.de>2013-03-17 13:18:09 +0100
commit89946d85a39f3c0b5ea87c887340b4781b6b2900 (patch)
tree5052cbebd07f86f5363dd79f20f47ccb21e250ac /filepropertiesdialog.cpp
parentc81dcb6c33342027017f0559444685168523f486 (diff)
downloadSheMov-89946d85a39f3c0b5ea87c887340b4781b6b2900.tar.gz
SheMov-89946d85a39f3c0b5ea87c887340b4781b6b2900.tar.bz2
SheMov-89946d85a39f3c0b5ea87c887340b4781b6b2900.zip
Fix Colors
This is more a qt5-fix than a SmDirModel fix. The global palette doesn't propagate any more, so we have to set the palette in every QTreeView separately. Very annoying and tedious. Maybe I missed a Widget or two, dunno...
Diffstat (limited to 'filepropertiesdialog.cpp')
-rw-r--r--filepropertiesdialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/filepropertiesdialog.cpp b/filepropertiesdialog.cpp
index a49b863..a36517a 100644
--- a/filepropertiesdialog.cpp
+++ b/filepropertiesdialog.cpp
@@ -15,6 +15,7 @@
#include <QVariant>
#include <QPalette>
#include <QtWidgets/QTabWidget>
+#include <QApplication>
#include "filepropertiesdialog.h"
#include "seriesmetadatamodel.h"
@@ -52,6 +53,7 @@ FilePropertiesDialog::FilePropertiesDialog(int seriesPartId, QWidget *parent, Qt
streamDataLayout->addWidget(mView);
streamData->setLayout(streamDataLayout);
mTab->addTab(streamData, tr("Stream data"));
+ mView->setPalette(qApp->palette());
//metadata widget
mMetadata = new MetadataWidget;