summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8f92b3f)
This makes the entire notification popup clickable.
Also, mark the text for translation.
selectOverload<uint>(&KNotification::activated),
this,
selectOverload<>(&KNotificationBackend::notificationActivated));
selectOverload<uint>(&KNotification::activated),
this,
selectOverload<>(&KNotificationBackend::notificationActivated));
- notification->setActions(QStringList("View"));
+ notification->setDefaultAction(tr("View"));
notification->setProperty("notificationId", n.notificationId);
_notifications.append(qMakePair(n.notificationId, QPointer<KNotification>(notification)));
notification->setProperty("notificationId", n.notificationId);
_notifications.append(qMakePair(n.notificationId, QPointer<KNotification>(notification)));