summaryrefslogtreecommitdiffstats
path: root/sigtools/PluginTreeModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigtools/PluginTreeModel.cpp')
-rw-r--r--sigtools/PluginTreeModel.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/sigtools/PluginTreeModel.cpp b/sigtools/PluginTreeModel.cpp
index 6a291b45..d0529c66 100644
--- a/sigtools/PluginTreeModel.cpp
+++ b/sigtools/PluginTreeModel.cpp
@@ -35,9 +35,13 @@
using namespace Sigencore::Interfaces;
using namespace Sigtools;
-PluginTreeModel::PluginTreeModel(const QStringList& types, PluginTree* tree) :
+PluginTreeModel::PluginTreeModel(PluginTree* tree) :
QAbstractListModel(tree)
{
+}
+
+void PluginTreeModel::setTypes(const QStringList& types)
+{
foreach (const QString& type, types)
{
const QStringList names = PluginLoader::availablePlugins(type);