Made notification id accessible from QML
This commit is contained in:
parent
86bfbf1a4c
commit
91d4a03258
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ NotificationsModel::NotificationsModel(QObject* parent)
|
||||||
QHash<int, QByteArray> names = roleNames();
|
QHash<int, QByteArray> names = roleNames();
|
||||||
names.insert(DbusInterfaceRole, "dbusInterface");
|
names.insert(DbusInterfaceRole, "dbusInterface");
|
||||||
names.insert(AppNameModelRole, "appName");
|
names.insert(AppNameModelRole, "appName");
|
||||||
|
names.insert(IdModelRole, "notificationId");
|
||||||
names.insert(DismissableModelRole, "dismissable");
|
names.insert(DismissableModelRole, "dismissable");
|
||||||
setRoleNames(names);
|
setRoleNames(names);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue