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. --- mappingtablemodel.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mappingtablemodel.cpp') diff --git a/mappingtablemodel.cpp b/mappingtablemodel.cpp index 47e3136..412e37f 100644 --- a/mappingtablemodel.cpp +++ b/mappingtablemodel.cpp @@ -89,6 +89,9 @@ QVariant MappingTableModel::data(const QModelIndex &index, int role) const{ if(role == ItemIdRole){ return item->data(ItemId); } + if(role == Qt::DecorationRole){ + return SmTreeModel::data(index, role); + } return QVariant(); } -- cgit v1.2.3-70-g09d2