summaryrefslogtreecommitdiff
path: root/src/libs/extensionsystem/pluginview.cpp
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2016-07-05 17:44:34 +0200
committerhjk <hjk@qt.io>2016-07-06 11:37:36 +0000
commit4c5ee0c02b5d87aa596913f8c0a7f0e27bf8ff8d (patch)
treea1a267229cb79c06c9e925c27d7cb3fc92cd564a /src/libs/extensionsystem/pluginview.cpp
parentd786c33ed02f07ea59e7bccb310129a4f72623b3 (diff)
downloadqt-creator-4c5ee0c02b5d87aa596913f8c0a7f0e27bf8ff8d.tar.gz
ExtensionSystem: Fix PluginView model level types
LeveledTreeView lately names its RootItem type explicitly, the PluginView model was not adapted, but still compilable (and not harmed otherwise) as the types of first level were never used. Change-Id: If64d609581782be86068d64e5a8f14f4418fb95b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/libs/extensionsystem/pluginview.cpp')
-rw-r--r--src/libs/extensionsystem/pluginview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/extensionsystem/pluginview.cpp b/src/libs/extensionsystem/pluginview.cpp
index e86f98665b..2dea6e1b25 100644
--- a/src/libs/extensionsystem/pluginview.cpp
+++ b/src/libs/extensionsystem/pluginview.cpp
@@ -314,7 +314,7 @@ PluginView::PluginView(QWidget *parent)
m_categoryView->setSelectionMode(QAbstractItemView::SingleSelection);
m_categoryView->setSelectionBehavior(QAbstractItemView::SelectRows);
- m_model = new LeveledTreeModel<CollectionItem, PluginItem>(this);
+ m_model = new LeveledTreeModel<TreeItem, CollectionItem, PluginItem>(this);
m_model->setHeader({ tr("Name"), tr("Load"), tr("Version"), tr("Vendor") });
m_sortModel = new CategorySortFilterModel(this);