Commit 850bdf6c authored by Nicolas Fella's avatar Nicolas Fella

Replace qVariantFromValue with QVariant::fromValue

parent eb0e3fce
Pipeline #3440 failed with stage
in 7 minutes and 12 seconds
......@@ -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:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment