aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSze Howe Koh <szehowe.koh@gmail.com>2023-08-29 09:50:58 +0800
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-08-31 11:51:34 +0000
commit5090ae06309b5a4dab0690564df98c66e67a3250 (patch)
tree13afefa6fcc8b70eaced196b31f69bcd704c959a
parent6591c6641e47981436e3f75cc9699a1b477cbebe (diff)
Doc: Fix unqualified access in FolderListModel example
Change-Id: Iacbb8cc5f9d887cdd7f14f1d948e37e27e5c6083 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> (cherry picked from commit 6afb1ec82bdca7a1ea3a7a5e12a3f143962860ea) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/labs/folderlistmodel/qquickfolderlistmodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/labs/folderlistmodel/qquickfolderlistmodel.cpp b/src/labs/folderlistmodel/qquickfolderlistmodel.cpp
index 6fb3e9ea02..f85c240b62 100644
--- a/src/labs/folderlistmodel/qquickfolderlistmodel.cpp
+++ b/src/labs/folderlistmodel/qquickfolderlistmodel.cpp
@@ -278,6 +278,7 @@ QString QQuickFolderListModelPrivate::resolvePath(const QUrl &path)
Component {
id: fileDelegate
+ required property string fileName
Text { text: fileName }
}