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

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:28:20 UTC 2016


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

The following commit has been merged in the master branch:
commit e5920810941ed700d23c6e104c7c9356cdb097e9
Author: Aleix Pol <aleixpol at kde.org>
Date:   Sat Mar 14 03:32:53 2015 +0100

    Fix issue spotted by modeltest
    
    Off by 1 index... :(
---
 interfaces/devicesmodel.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/interfaces/devicesmodel.cpp b/interfaces/devicesmodel.cpp
index 6879d27..228e82e 100644
--- a/interfaces/devicesmodel.cpp
+++ b/interfaces/devicesmodel.cpp
@@ -127,7 +127,7 @@ void DevicesModel::receivedDeviceList(QDBusPendingCallWatcher* watcher)
 
     Q_ASSERT(m_deviceList.isEmpty());
     const QStringList deviceIds = pendingDeviceIds.value();
-    beginInsertRows(QModelIndex(), 0, deviceIds.count());
+    beginInsertRows(QModelIndex(), 0, deviceIds.count()-1);
     Q_FOREACH(const QString& id, deviceIds) {
         m_deviceList.append(new DeviceDbusInterface(id, this));
     }

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list