void App::updatePushContent(Push &push, const QVariantList &indexPath) { push.setUnread(false); m_pushNotificationService.markPushAsRead(push.seqNum()); m_model->updateItem(indexPath, push.toMap()); // The push has been opened, so delete the notification Notification::deleteFromInbox(NOTIFICATION_PREFIX + QString::number(push.seqNum())); m_pushContentController->setCurrentPush(push); }