[SCM] ktp-filetransfer-handler packaging branch, master, updated. debian/15.12.1-2-226-g825cd93

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:11:23 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-filetransfer-handler.git;a=commitdiff;h=34d329b

The following commit has been merged in the master branch:
commit 34d329bc8500266fd4cd771cde66cd0a6ee35803
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date:   Wed Jun 15 23:39:50 2011 +0200

    Use KUrl::isLocalFile() instead of comparing scheme
---
 src/handle-outgoing-file-transfer-channel-job.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/handle-outgoing-file-transfer-channel-job.cpp b/src/handle-outgoing-file-transfer-channel-job.cpp
index 3d55285..07c9065 100644
--- a/src/handle-outgoing-file-transfer-channel-job.cpp
+++ b/src/handle-outgoing-file-transfer-channel-job.cpp
@@ -171,7 +171,7 @@ void HandleOutgoingFileTransferChannelJobPrivate::__k__provideFile()
         q->setErrorText(i18n("URI property is missing"));
         QTimer::singleShot(0, q, SLOT(__k__doEmitResult()));
     }
-    if (uri.scheme() != QLatin1String("file"))
+    if (!uri.isLocalFile())
     {
         // TODO handle this!
         qWarning() << "Not a local file";

-- 
ktp-filetransfer-handler packaging



More information about the pkg-kde-commits mailing list