@@ -23,10 +23,10 @@ Item {
2323 implicitHeight: button.height
2424 implicitWidth: button.width
2525
26− property var shareUris
26+ property var shareData
2727 readonly property bool isUrlExternal: url && url.indexOf("file:///") != 0 && url.indexOf("/") != 0
28− readonly property string contentType: shareUris ? shareUris["contentType"] : ""
29− readonly property string url: shareUris ? shareUris["uri"] : ""
28+ readonly property string contentType: shareData ? shareData["contentType"] : ""
29+ readonly property var url: shareData ? shareData["uri"] : ""
3030 readonly property Item rootItem: QuickUtils.rootItem(root)
3131
3232 visible: url != ""
@@ -78,9 +78,11 @@ Item {
7878 var transfer = peer.request();
7979 if (transfer.state === ContentTransfer.InProgress) {
8080 var items = new Array();
81− var exportItem = exportItemComponent.createObject();
82− exportItem.url = url;
83− items.push(exportItem);
81+ for (var i = 0; i < url.length; i++) {
82+ var exportItem = exportItemComponent.createObject();
83+ exportItem.url = url[i];
84+ items.push(exportItem);
85+ }
8486 transfer.items = items;
8587 transfer.state = ContentTransfer.Charged;
8688 }