When trying to send file, actually tell the plugin to send the file

Works wonderfully on new apk's. \o/

Reviewed by Albert Vaca
This commit is contained in:
Aleix Pol 2014-06-27 16:46:49 +02:00
parent db0d30e2e9
commit 59cab0dc06

View file

@ -58,6 +58,7 @@ QList<QAction*> 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;
}
}