summaryrefslogtreecommitdiffstats
path: root/sigtools/PluginTreeModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigtools/PluginTreeModel.cpp')
-rw-r--r--sigtools/PluginTreeModel.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/sigtools/PluginTreeModel.cpp b/sigtools/PluginTreeModel.cpp
index bd4f6bef..4b71cc29 100644
--- a/sigtools/PluginTreeModel.cpp
+++ b/sigtools/PluginTreeModel.cpp
@@ -63,9 +63,8 @@ void PluginTreeModel::setTypes(const QStringList& types)
}
else
{
- PluginBase* plugin = PluginLoader::plugin(type, name);
- data.m_description = plugin->description(name);
- data.m_icon = plugin->icon(name);
+ data.m_description = PluginLoader::description(type, name);
+ data.m_icon = PluginLoader::icon(type, name);
}
beginInsertRows(QModelIndex(), m_entries.size(), m_entries.size());
m_entries.append(data);