summaryrefslogtreecommitdiffstats
path: root/sigtools
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-03-26 05:53:26 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-03-26 05:53:26 -0400
commit92530cb716baf7d978832f47321eb8f74a79da58 (patch)
tree21b9dcc21c27fac3ee805acdfdb9e0095e0cd0c4 /sigtools
parent26d642acf808844bf1f395694666394d12822f64 (diff)
downloadsigen-92530cb716baf7d978832f47321eb8f74a79da58.tar.gz
sigen-92530cb716baf7d978832f47321eb8f74a79da58.tar.xz
sigen-92530cb716baf7d978832f47321eb8f74a79da58.zip
Add description accessor role
Diffstat (limited to 'sigtools')
-rw-r--r--sigtools/PluginTreeModel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sigtools/PluginTreeModel.cpp b/sigtools/PluginTreeModel.cpp
index 03479a8a..6a291b45 100644
--- a/sigtools/PluginTreeModel.cpp
+++ b/sigtools/PluginTreeModel.cpp
@@ -83,6 +83,8 @@ QVariant PluginTreeModel::data(const QModelIndex& index, const int role) const
{
case Qt::DisplayRole:
return data->m_name;
+ case Qt::UserRole:
+ return data->m_description;
case Qt::DecorationRole:
return data->m_icon;
case KCategorizedSortFilterProxyModel::CategoryDisplayRole: