summaryrefslogtreecommitdiffstats
path: root/sigtools/PluginTree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigtools/PluginTree.cpp')
-rw-r--r--sigtools/PluginTree.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/sigtools/PluginTree.cpp b/sigtools/PluginTree.cpp
index 3ac0365d..ecdb788c 100644
--- a/sigtools/PluginTree.cpp
+++ b/sigtools/PluginTree.cpp
@@ -58,7 +58,7 @@ PluginTree::Private::Private(const QStringList& types, PluginTree* tree) :
m_filter(new KLineEdit(tree)),
m_view(new KCategorizedView(tree)),
m_drawer(new KCategoryDrawer),
- m_model(new PluginTreeModel(types, tree)),
+ m_model(new PluginTreeModel(tree)),
m_proxy(new PluginTreeProxyModel(m_filter, m_model))
{
m_filter->setClearButtonShown(true);
@@ -73,6 +73,8 @@ PluginTree::Private::Private(const QStringList& types, PluginTree* tree) :
m_view->setMouseTracking(true);
m_view->viewport()->setAttribute(Qt::WA_Hover);
+ m_model->setTypes(types);
+
m_filter->connect(m_filter, SIGNAL(textChanged(QString)), m_proxy, SLOT(invalidate()));
}