diff options
author | Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> | 2017-06-29 16:36:39 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2017-07-10 07:37:11 +0000 |
commit | 815cae4eb4887956a62e12ca357a0ec797dfc08f (patch) | |
tree | b8ef217d2ef10055c42b9a4fe81027d6fba15b3d /examples/quickcontrols2/chattutorial/chapter2-lists | |
parent | 8bc2feb498cbbeafe0de52cda929ef7a881c0351 (diff) |
Example: Replace spaces from the image file name
Updated the corresponding qml files where these images are used.
The spaces in file name stops qdoc from listing the file in the
example page.
Change-Id: I45b24ec88d367fe229fe365eeb611b86de805e0d
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'examples/quickcontrols2/chattutorial/chapter2-lists')
-rw-r--r-- | examples/quickcontrols2/chattutorial/chapter2-lists/main.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quickcontrols2/chattutorial/chapter2-lists/main.qml b/examples/quickcontrols2/chattutorial/chapter2-lists/main.qml index 289b4545..150fd004 100644 --- a/examples/quickcontrols2/chattutorial/chapter2-lists/main.qml +++ b/examples/quickcontrols2/chattutorial/chapter2-lists/main.qml @@ -83,7 +83,7 @@ ApplicationWindow { Image { id: avatar - source: "qrc:/" + modelData + ".png" + source: "qrc:/" + modelData.replace(" ", "_") + ".png" } } } |