[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=fb9143a
The following commit has been merged in the master branch:
commit fb9143a2aad94030db526f8d69d652d5f0eb23a6
Author: Aleix Pol <aleixpol at kde.org>
Date: Sat Mar 14 04:27:30 2015 +0100
Ensure the watcher never leaks
---
interfaces/devicesmodel.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/interfaces/devicesmodel.cpp b/interfaces/devicesmodel.cpp
index bb2d947..8d41292 100644
--- a/interfaces/devicesmodel.cpp
+++ b/interfaces/devicesmodel.cpp
@@ -136,6 +136,7 @@ void DevicesModel::refreshDeviceList()
void DevicesModel::receivedDeviceList(QDBusPendingCallWatcher* watcher)
{
+ watcher->deleteLater();
clearDevices();
QDBusPendingReply<QStringList> pendingDeviceIds = *watcher;
if (pendingDeviceIds.isError()) {
@@ -150,7 +151,6 @@ void DevicesModel::receivedDeviceList(QDBusPendingCallWatcher* watcher)
m_deviceList.append(new DeviceDbusInterface(id, this));
}
endInsertRows();
- watcher->deleteLater();
}
void DevicesModel::clearDevices()
--
kdeconnect packaging
More information about the pkg-kde-commits
mailing list