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

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


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

The following commit has been merged in the master branch:
commit 886787f7322b45cb435873821e55c6449e586441
Author: Àlex Fiestas <afiestas at kde.org>
Date:   Fri Jul 31 12:59:53 2015 +0200

    Set a valid url for UDS_URL, basically one that includes files://
    
    In Qt5 QUrl need to be created by calling fromLocalFile to handle
    paths such /root/foo.txt.
    So KIO apparently broke compatibility with setting such paths in
    UDS_URL and we have to pass instead files:///root/foo.txt
    
    Altought this might be a bug in KIO, we want to work with all KF5 based
    versions of plasma and this patch will just do that.
    
    REVIEW:124544
---
 kio/kiokdeconnect.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kio/kiokdeconnect.cpp b/kio/kiokdeconnect.cpp
index 9d40ee5..0ac875d 100644
--- a/kio/kiokdeconnect.cpp
+++ b/kio/kiokdeconnect.cpp
@@ -155,7 +155,7 @@ void KioKdeconnect::listDevice()
         entry.insert(KIO::UDSEntry::UDS_FILE_TYPE, S_IFDIR);
         entry.insert(KIO::UDSEntry::UDS_ACCESS, S_IRUSR | S_IRGRP | S_IROTH);
         entry.insert(KIO::UDSEntry::UDS_MIME_TYPE, "");
-        entry.insert(KIO::UDSEntry::UDS_URL, path);
+        entry.insert(KIO::UDSEntry::UDS_URL, QUrl::fromLocalFile(path).toString());
         listEntry(entry);
     }
 

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list