From 4c5ee0c02b5d87aa596913f8c0a7f0e27bf8ff8d Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 5 Jul 2016 17:44:34 +0200 Subject: 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 --- src/libs/extensionsystem/pluginview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libs/extensionsystem/pluginview.cpp') 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(this); + m_model = new LeveledTreeModel(this); m_model->setHeader({ tr("Name"), tr("Load"), tr("Version"), tr("Vendor") }); m_sortModel = new CategorySortFilterModel(this); -- cgit v1.2.1