diff --git a/fileitemactionplugin/sendfileitemaction.cpp b/fileitemactionplugin/sendfileitemaction.cpp index bae8732a0..57c5b66e6 100644 --- a/fileitemactionplugin/sendfileitemaction.cpp +++ b/fileitemactionplugin/sendfileitemaction.cpp @@ -36,7 +36,7 @@ #include #include #include -#include +#include K_PLUGIN_FACTORY(SendFileItemActionFactory, registerPlugin();) K_EXPORT_PLUGIN(SendFileItemActionFactory("SendFileItemAction", "kdeconnect-filetiemaction")) @@ -80,7 +80,7 @@ QList SendFileItemAction::actions(const KFileItemListProperties& fileI void SendFileItemAction::sendFile() { - QList urls = sender()->property("urls").value(); + QList urls = sender()->property("urls").value>(); 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());