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

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:27:34 UTC 2016


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

The following commit has been merged in the master branch:
commit e2e3785206864fb165515a34be52b908bbfc7f40
Author: Albert Vaca <albertvaka at gmail.com>
Date:   Thu Jun 5 23:44:17 2014 +0200

    Trying to fix crashs at exit
---
 kded/plugins/sftp/sftpplugin.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/kded/plugins/sftp/sftpplugin.cpp b/kded/plugins/sftp/sftpplugin.cpp
index e64e2fa..d6b7cb4 100644
--- a/kded/plugins/sftp/sftpplugin.cpp
+++ b/kded/plugins/sftp/sftpplugin.cpp
@@ -44,11 +44,11 @@ static const QSet<QString> fields_c = QSet<QString>() << "ip" << "port" << "user
 
 struct SftpPlugin::Pimpl
 {
-    Pimpl() {}
+    Pimpl() : mounter(0) {}
   
     //Add KIO entry to Dolphin's Places
     KFilePlacesModel  placesModel;
-    QPointer<Mounter> mounter;
+    Mounter* mounter;
 };
 
 SftpPlugin::SftpPlugin(QObject *parent, const QVariantList &args)
@@ -113,8 +113,8 @@ void SftpPlugin::mount()
 
 void SftpPlugin::unmount()
 {
-    kDebug(kdeconnect_kded()) << "Device:" << device()->name();
-    delete m_d->mounter.data();
+    //FIXME
+    if (m_d->mounter) m_d->mounter->deleteLater();
 }
 
 bool SftpPlugin::mountAndWait()

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list