on xenial help sign in
Cleanup commented code
e355bbaAlbert Astals Cid
qml/Dash/Previews/PreviewInlineVideo.qml−41
@@ -44,46 +44,5 @@ PreviewWidget {
44 maximumEmbeddedHeight: rootItem.height / 2
44 maximumEmbeddedHeight: rootItem.height / 2
45
45
46 onClose: fullscreen = false
46 onClose: fullscreen = false
47−
48−// actions: [
49−// Action {
50−// text: i18n.tr("Share")
51−// iconSource: "image://theme/share"
52−// onTriggered: sharePicker.visible = true
53−// }
54−// ]
55 }
47 }
56−
57−// Component {
58−// id: contentItemComp
59−// ContentItem {
60−// url: widgetData["source"]
61−// }
62−// }
63−// ContentPeerPicker {
64−// id: sharePicker
65−// objectName: "sharePickerEvents"
66−// anchors.fill: parent
67−// showTitle: false
68−// visible: false
69−// parent: rootItem
70−// z: 100
71−
72−// contentType: ContentType.Videos
73−// handler: ContentHandler.Share
74−
75−// onPeerSelected: {
76−// visible = false;
77−
78−// var curTransfer = peer.request();
79−// if (curTransfer.state === ContentTransfer.InProgress)
80−// {
81−// var medias = [ contentItemComp.createObject(parent) ]
82−// curTransfer.state = ContentTransfer.Charged;
83−// }
84−// }
85−// onCancelPressed: {
86−// visible = false;
87−// }
88−// }
89}
48}