@@ -36,7 +36,6 @@ PreviewWidget {
36 right: parent.right
36 right: parent.right
38 scaleTo: "width"
38 scaleTo: "width"
39− visible: state === "ready"
41 var screenshot = widgetData["screenshot"];
40 var screenshot = widgetData["screenshot"];
42 if (screenshot) return screenshot;
41 if (screenshot) return screenshot;
@@ -61,9 +60,11 @@ PreviewWidget {
61 width: bigButton ? units.gu(8) : units.gu(4.5)
60 width: bigButton ? units.gu(8) : units.gu(4.5)
62 height: width
61 height: width
63 source: "../graphics/play_button%1%2.png".arg(previewImageMouseArea.pressed ? "_active" : "").arg(bigButton ? "_big" : "")
62 source: "../graphics/play_button%1%2.png".arg(previewImageMouseArea.pressed ? "_active" : "").arg(bigButton ? "_big" : "")
63+ visible: parent.state === "ready"
66 MouseArea {
66 MouseArea {
67+ enabled: parent.state === "ready"
67 id: previewImageMouseArea
68 id: previewImageMouseArea
68 anchors.fill: parent
69 anchors.fill: parent
69 onClicked: Qt.openUrlExternally(widgetData["source"])
70 onClicked: Qt.openUrlExternally(widgetData["source"])