Loading instance groups and exposing them to the model
This commit is contained in:
parent
65faabeed4
commit
7e222c3e8f
3 changed files with 116 additions and 2 deletions
|
@ -78,7 +78,7 @@ QVariant InstanceModel::data ( const QModelIndex& index, int role ) const
|
|||
case KCategorizedSortFilterProxyModel::CategorySortRole:
|
||||
case KCategorizedSortFilterProxyModel::CategoryDisplayRole:
|
||||
{
|
||||
return "IT'S A GROUP";
|
||||
return pdata->group();
|
||||
}
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue