diff options
author | Arno <am@disconnect.de> | 2013-03-17 13:18:09 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2013-03-17 13:18:09 +0100 |
commit | 89946d85a39f3c0b5ea87c887340b4781b6b2900 (patch) | |
tree | 5052cbebd07f86f5363dd79f20f47ccb21e250ac /newmoviewizard.cpp | |
parent | c81dcb6c33342027017f0559444685168523f486 (diff) | |
download | SheMov-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 'newmoviewizard.cpp')
-rw-r--r-- | newmoviewizard.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/newmoviewizard.cpp b/newmoviewizard.cpp index 36bf016..18fe68d 100644 --- a/newmoviewizard.cpp +++ b/newmoviewizard.cpp @@ -219,7 +219,8 @@ void MovieInfoPage::setupGui(){ mFileView = new QTreeView; mFileView->setModel(mFileModel); connect(mFileView->selectionModel(), SIGNAL(currentRowChanged(QModelIndex,QModelIndex)), this, SLOT(fileSelectionChanged(QModelIndex,QModelIndex))); - mFileView->setAlternatingRowColors(true); + mFileView->setAlternatingRowColors(true); + SmGlobals::instance()->treeWidgets().append(mFileView); //add + remove files QHBoxLayout *fileButtonLayout = new QHBoxLayout; |