aboutsummaryrefslogtreecommitdiffstats
path: root/src
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
commitb56045d0348a93fc14aced01a8b787c5b5eb11c0 (patch)
tree37a2dbf6e50d96c2c49cadc92affa389c352a640 /src
parentdb723d8a1d4edc934481d40e42b29de8e7ae4bf3 (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>
Diffstat (limited to 'src')
-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 31466f182f..8317fa85f0 100644
--- a/src/labs/folderlistmodel/qquickfolderlistmodel.cpp
+++ b/src/labs/folderlistmodel/qquickfolderlistmodel.cpp
@@ -284,6 +284,7 @@ QString QQuickFolderListModelPrivate::resolvePath(const QUrl &path)
Component {
id: fileDelegate
+ required property string fileName
Text { text: fileName }
}