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

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


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

The following commit has been merged in the master branch:
commit c8e0c474efcfca193a57560d1a26ee5157654f4d
Author: Albert Vaca <albertvaka at gmail.com>
Date:   Sun Jun 21 19:43:21 2015 -0700

    Fixed crash
---
 kcm/kcm.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/kcm/kcm.cpp b/kcm/kcm.cpp
index 00b3972..09d56e0 100644
--- a/kcm/kcm.cpp
+++ b/kcm/kcm.cpp
@@ -143,6 +143,9 @@ void KdeConnectKcm::refresh()
 
 void KdeConnectKcm::resetSelection()
 {
+    if (!currentDevice) {
+        return;
+    }
     kcmUi->deviceList->selectionModel()->setCurrentIndex(sortProxyModel->mapFromSource(currentIndex), QItemSelectionModel::ClearAndSelect);
 }
 
@@ -162,6 +165,7 @@ void KdeConnectKcm::deviceSelected(const QModelIndex& current)
     pluginsConfigChanged();
 
     if (!current.isValid()) {
+        currentDevice = NULL;
         kcmUi->deviceInfo->setVisible(false);
         return;
     }

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list