aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/chattutorial/chapter5-styling/ContactPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quickcontrols2/chattutorial/chapter5-styling/ContactPage.qml')
-rw-r--r--examples/quickcontrols2/chattutorial/chapter5-styling/ContactPage.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quickcontrols2/chattutorial/chapter5-styling/ContactPage.qml b/examples/quickcontrols2/chattutorial/chapter5-styling/ContactPage.qml
index 1ea449fe..ad37ba5f 100644
--- a/examples/quickcontrols2/chattutorial/chapter5-styling/ContactPage.qml
+++ b/examples/quickcontrols2/chattutorial/chapter5-styling/ContactPage.qml
@@ -82,7 +82,7 @@ Page {
Image {
id: avatar
- source: "qrc:/" + model.display + ".png"
+ source: "qrc:/" + model.display.replace(" ", "_") + ".png"
}
}
}