summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/declarative-camera/CameraListButton.qml
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-04-15 14:51:40 +0200
committerLars Knoll <lars.knoll@qt.io>2021-04-19 11:07:14 +0000
commitb1525638dc5114d3ad110740045afea0b16adec6 (patch)
treea79ad63cbecc3318124a2e829c3842c1db6ad8d5 /examples/multimedia/declarative-camera/CameraListButton.qml
parent00fdf006f9740a3886ce24d885ed4907952a8c9e (diff)
Fix the declarative-camera example
Adjust it to the API changes that happened on the QML side. Change-Id: I17e6be334ce5a6afb4558f946d8bd7bbcd0a6d32 Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples/multimedia/declarative-camera/CameraListButton.qml')
-rw-r--r--examples/multimedia/declarative-camera/CameraListButton.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/multimedia/declarative-camera/CameraListButton.qml b/examples/multimedia/declarative-camera/CameraListButton.qml
index 2232140c5..8b0c280ed 100644
--- a/examples/multimedia/declarative-camera/CameraListButton.qml
+++ b/examples/multimedia/declarative-camera/CameraListButton.qml
@@ -67,7 +67,7 @@ Item {
CameraButton {
anchors.fill: parent
- text: popup.currentItem != null ? popup.currentItem.displayName : ""
+ text: popup.currentItem !== null ? popup.currentItem.description : ""
onClicked: popup.toggle()
}