summaryrefslogtreecommitdiffstats
path: root/sigtools
diff options
context:
space:
mode:
Diffstat (limited to 'sigtools')
-rw-r--r--sigtools/PluginTreeModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sigtools/PluginTreeModel.cpp b/sigtools/PluginTreeModel.cpp
index ae6af390..03479a8a 100644
--- a/sigtools/PluginTreeModel.cpp
+++ b/sigtools/PluginTreeModel.cpp
@@ -58,7 +58,7 @@ PluginTreeModel::PluginTreeModel(const QStringList& types, PluginTree* tree) :
data.m_description = plugin->description(name);
data.m_icon = plugin->icon(name);
}
- beginInsertRows(QModelIndex(), m_entries.size(), 1);
+ beginInsertRows(QModelIndex(), m_entries.size(), m_entries.size());
m_entries.append(data);
endInsertRows();
}