Add rooms runner
This allows to search for and open rooms in KRunner
This commit is contained in:
committed by
Tobias Fella
parent
9a5f2e4938
commit
1cc8d915bc
@@ -399,6 +399,12 @@ QVariant RoomListModel::data(const QModelIndex &index, int role) const
|
||||
if (role == SubtitleTextRole) {
|
||||
return room->subtitleText();
|
||||
}
|
||||
if (role == AvatarImageRole) {
|
||||
return room->avatar(128);
|
||||
}
|
||||
if (role == IdRole) {
|
||||
return room->id();
|
||||
}
|
||||
return QVariant();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user