From 59cab0dc06d2a9409c817e41aebc199aff417b9c Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Fri, 27 Jun 2014 16:46:49 +0200 Subject: [PATCH] When trying to send file, actually tell the plugin to send the file Works wonderfully on new apk's. \o/ Reviewed by Albert Vaca --- fileitemactionplugin/sendfileitemaction.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/fileitemactionplugin/sendfileitemaction.cpp b/fileitemactionplugin/sendfileitemaction.cpp index 6b2dd722b..54653b923 100644 --- a/fileitemactionplugin/sendfileitemaction.cpp +++ b/fileitemactionplugin/sendfileitemaction.cpp @@ -58,6 +58,7 @@ QList SendFileItemAction::actions(const KFileItemListProperties& fileI action->setProperty("id", idx.data(DevicesModel::IdModelRole)); action->setProperty("urls", QVariant::fromValue(fileItemInfos.urlList())); action->setProperty("parentWidget", QVariant::fromValue(parentWidget)); + connect(action, SIGNAL(triggered(bool)), this, SLOT(sendFile())); actions += action; } }