on xenial help sign in
Cleanup commented code
commite355bba9768bc819e0bd4634865c3f072d7227ce authorAlbert Astals Cid <albert.astals@canonical.com> dateMon 9 May 2016, 16:50 (10 years ago) parent2ce36d2
1 file changed−41
qml/Dash/Previews/PreviewInlineVideo.qml−41
qml/Dash/Previews/PreviewInlineVideo.qml−41
@@ -44,46 +44,5 @@ PreviewWidget {
4444 maximumEmbeddedHeight: rootItem.height / 2
4545
4646 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−// ]
5547 }
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−// }
8948}