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

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


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

The following commit has been merged in the master branch:
commit 00ef52227e54517801ee0c87f3da817f4fe3f669
Author: Lamarque V. Souza <lamarque at kde.org>
Date:   Fri Jan 23 14:10:37 2015 -0200

    Fixes file transfer for Samsung Galaxy S2 with Jelly Bean 4.1.2
    by setting destination QUrl's scheme if it lacks one.
    
    REVIEW: 122221
---
 core/filetransferjob.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/core/filetransferjob.cpp b/core/filetransferjob.cpp
index 98418ec..6686690 100644
--- a/core/filetransferjob.cpp
+++ b/core/filetransferjob.cpp
@@ -38,6 +38,11 @@ FileTransferJob::FileTransferJob(const QSharedPointer<QIODevice>& origin, qint64
     , mSize(size)
     , mWritten(0)
 {
+    if (mDestination.scheme().isEmpty()) {
+        qWarning() << "Destination QUrl" << mDestination << "lacks a scheme. Setting its scheme to 'file'.";
+        mDestination.setScheme("file");
+    }
+
     Q_ASSERT(destination.isLocalFile());
     setCapabilities(Killable);
     qCDebug(KDECONNECT_CORE) << "FileTransferJob Downloading payload to" << destination;

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list