From 89946d85a39f3c0b5ea87c887340b4781b6b2900 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 17 Mar 2013 13:18:09 +0100 Subject: 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... --- filepropertiesdialog.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'filepropertiesdialog.cpp') diff --git a/filepropertiesdialog.cpp b/filepropertiesdialog.cpp index a49b863..a36517a 100644 --- a/filepropertiesdialog.cpp +++ b/filepropertiesdialog.cpp @@ -15,6 +15,7 @@ #include #include #include +#include #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; -- cgit v1.2.3-70-g09d2