summaryrefslogtreecommitdiffstats
path: root/QtDemo/qml/QtDemo/demos/video/VideoDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'QtDemo/qml/QtDemo/demos/video/VideoDelegate.qml')
-rw-r--r--QtDemo/qml/QtDemo/demos/video/VideoDelegate.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/QtDemo/qml/QtDemo/demos/video/VideoDelegate.qml b/QtDemo/qml/QtDemo/demos/video/VideoDelegate.qml
index 3e0faf6..16a956c 100644
--- a/QtDemo/qml/QtDemo/demos/video/VideoDelegate.qml
+++ b/QtDemo/qml/QtDemo/demos/video/VideoDelegate.qml
@@ -38,7 +38,7 @@
**
****************************************************************************/
-import QtQuick 2.0
+import QtQuick 2.2
Item {
id: delegate
@@ -86,6 +86,8 @@ Item {
anchors.bottom: parent.bottom
color: "Black"
opacity: 0.5
+ visible: iconImage.source !== ""
+
}
Text {