Commit 628afdeb authored by Thomas Surrel's avatar Thomas Surrel Committed by Nicolas Fella

Add new notifications at the top of the list

This will show a list with the most recent notifications at the top, in the

This is more consistent with the KDE notification plasmoid that stack them like
this too.

Reviewers: apol, #kde_connect

Reviewed By: apol, #kde_connect

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision:
parent 48108cd3
......@@ -102,10 +102,9 @@ void NotificationsModel::setDeviceId(const QString& deviceId)
void NotificationsModel::notificationAdded(const QString& id)
int currentSize = m_notificationList.size();
beginInsertRows(QModelIndex(), currentSize, currentSize);
beginInsertRows(QModelIndex(), 0, 0);
NotificationDbusInterface* dbusInterface = new NotificationDbusInterface(m_deviceId, id, this);
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