[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:29:21 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=b169214

The following commit has been merged in the master branch:
commit b1692142b1aff7639d192a0b54fa23546c34eb90
Author: Aleix Pol <aleixpol at kde.org>
Date:   Thu Nov 12 12:27:30 2015 +0100

    Polish NotificationsModel::isAnyDismissable proprety
    
    Let qml know it's computed on every call.
    Consider it might have changed whenever a new notification enters as well.
---
 interfaces/notificationsmodel.cpp | 3 ++-
 interfaces/notificationsmodel.h   | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/interfaces/notificationsmodel.cpp b/interfaces/notificationsmodel.cpp
index 3f204f1..20d242e 100644
--- a/interfaces/notificationsmodel.cpp
+++ b/interfaces/notificationsmodel.cpp
@@ -44,7 +44,8 @@ NotificationsModel::NotificationsModel(QObject* parent)
 
     connect(this, SIGNAL(dataChanged(QModelIndex,QModelIndex)),
             this, SIGNAL(anyDismissableChanged()));
-
+    connect(this, SIGNAL(rowsInserted(QModelIndex,int,int)),
+            this, SIGNAL(anyDismissableChanged()));
 
     QDBusServiceWatcher* watcher = new QDBusServiceWatcher(DaemonDbusInterface::activatedService(),
                                                            QDBusConnection::sessionBus(), QDBusServiceWatcher::WatchForOwnerChange, this);
diff --git a/interfaces/notificationsmodel.h b/interfaces/notificationsmodel.h
index e8351c8..0eb3a4d 100644
--- a/interfaces/notificationsmodel.h
+++ b/interfaces/notificationsmodel.h
@@ -34,7 +34,7 @@ class KDECONNECTINTERFACES_EXPORT NotificationsModel
     Q_OBJECT
     Q_PROPERTY(QString deviceId READ deviceId WRITE setDeviceId NOTIFY deviceIdChanged)
     Q_PROPERTY(int count READ rowCount NOTIFY rowsChanged)
-    Q_PROPERTY(bool isAnyDimissable READ isAnyDimissable NOTIFY anyDismissableChanged)
+    Q_PROPERTY(bool isAnyDimissable READ isAnyDimissable NOTIFY anyDismissableChanged STORED false)
 
 public:
     enum ModelRoles {

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list