Replace qVariantFromValue with QVariant::fromValue
This commit is contained in:
parent
eb0e3fce03
commit
850bdf6cc9
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ QVariant NotificationsModel::data(const QModelIndex& index, int role) const
|
|||
case AppNameModelRole:
|
||||
return notification->appName();
|
||||
case DbusInterfaceRole:
|
||||
return qVariantFromValue<QObject*>(notification);
|
||||
return QVariant::fromValue<QObject*>(notification);
|
||||
case DismissableModelRole:
|
||||
return notification->dismissable();
|
||||
case RepliableModelRole:
|
||||
|
|
Loading…
Reference in a new issue