From 70ad086ccaf69cf4592db90a641daf0a23ab1428 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 9 Jan 2011 10:36:13 +0100 Subject: Use folderIcon in NewMovieWizard Also show the folderIcon in the NewMovieWizard QTreeViews. --- newmoviewizard.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'newmoviewizard.cpp') diff --git a/newmoviewizard.cpp b/newmoviewizard.cpp index bf9f112..4c4e7c9 100644 --- a/newmoviewizard.cpp +++ b/newmoviewizard.cpp @@ -468,6 +468,9 @@ QVariant WizardTreeModel::data(const QModelIndex &index, int role) const{ if(role == FilePartRole){ return item->data(FilePart); } + if(role == Qt::DecorationRole){ + return SmTreeModel::data(index, role); + } return QVariant(); } -- cgit v1.2.3-70-g09d2