Changeset View
Changeset View
Standalone View
Standalone View
libnotificationmanager/notificationsmodel.cpp
Show First 20 Lines • Show All 452 Lines • ▼ Show 20 Line(s) | 449 | { | |||
---|---|---|---|---|---|
453 | } | 453 | } | ||
454 | 454 | | |||
455 | const Notification ¬ification = d->notifications.at(row); | 455 | const Notification ¬ification = d->notifications.at(row); | ||
456 | if (!notification.hasReplyAction()) { | 456 | if (!notification.hasReplyAction()) { | ||
457 | qCWarning(NOTIFICATIONMANAGER) << "Trying to reply to a notification which doesn't have a reply action"; | 457 | qCWarning(NOTIFICATIONMANAGER) << "Trying to reply to a notification which doesn't have a reply action"; | ||
458 | return; | 458 | return; | ||
459 | } | 459 | } | ||
460 | 460 | | |||
461 | Server::self().reply(notificationId, text); | 461 | Server::self().reply(notification.dBusService(), notificationId, text); | ||
462 | } | 462 | } | ||
463 | 463 | | |||
464 | void NotificationsModel::startTimeout(uint notificationId) | 464 | void NotificationsModel::startTimeout(uint notificationId) | ||
465 | { | 465 | { | ||
466 | const int row = d->rowOfNotification(notificationId); | 466 | const int row = d->rowOfNotification(notificationId); | ||
467 | if (row == -1) { | 467 | if (row == -1) { | ||
468 | return; | 468 | return; | ||
469 | } | 469 | } | ||
▲ Show 20 Lines • Show All 61 Lines • Show Last 20 Lines |