[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498
Maximiliano Curia
maxy at moszumanska.debian.org
Fri Oct 14 14:27:56 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=53830bf
The following commit has been merged in the master branch:
commit 53830bfa68125c90bfd193626c7c2d81904559cc
Author: Àlex Fiestas <afiestas at kde.org>
Date: Sun Sep 21 22:22:47 2014 +0200
Use QUrl instead of KUrl in fileitemactionplugin
Again, straight forward port, simple replace works.
---
fileitemactionplugin/sendfileitemaction.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fileitemactionplugin/sendfileitemaction.cpp b/fileitemactionplugin/sendfileitemaction.cpp
index bae8732..57c5b66 100644
--- a/fileitemactionplugin/sendfileitemaction.cpp
+++ b/fileitemactionplugin/sendfileitemaction.cpp
@@ -36,7 +36,7 @@
#include <KDebug>
#include <KProcess>
#include <KLocalizedString>
-#include <KUrl>
+#include <QUrl>
K_PLUGIN_FACTORY(SendFileItemActionFactory, registerPlugin<SendFileItemAction>();)
K_EXPORT_PLUGIN(SendFileItemActionFactory("SendFileItemAction", "kdeconnect-filetiemaction"))
@@ -80,7 +80,7 @@ QList<QAction*> SendFileItemAction::actions(const KFileItemListProperties& fileI
void SendFileItemAction::sendFile()
{
- QList<QUrl> urls = sender()->property("urls").value<KUrl::List>();
+ QList<QUrl> urls = sender()->property("urls").value<QList<QUrl>>();
foreach(const QUrl& url, urls) {
QDBusMessage msg = QDBusMessage::createMethodCall("org.kde.kdeconnect", "/modules/kdeconnect/devices/"+sender()->property("id").toString()+"/share", "org.kde.kdeconnect.device.share", "shareUrl");
msg.setArguments(QVariantList() << url.toString());
--
kdeconnect packaging
More information about the pkg-kde-commits
mailing list