path: root/src
diff options
authorPaul Wicking <paul.wicking@qt.io>2018-06-21 12:23:59 +0200
committerPaul Wicking <paul.wicking@qt.io>2018-06-21 11:37:42 +0000
commit9f8f5ae26508244f4f8e496784ea5d9c9d97927f (patch)
tree008f8e322f3f0d9a6d85b5e3cf1aac35866c56da /src
parente023a338c4f30e43f4b2ae4a916e4051123d41dd (diff)
Doc: Correct QML type for FolderListModel.folder
Task-number: QTBUG-68940 Change-Id: I439ec9b6253815f41e405a0d9f79ff69eb75c98e Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src')
1 files changed, 4 insertions, 4 deletions
diff --git a/src/imports/folderlistmodel/qquickfolderlistmodel.cpp b/src/imports/folderlistmodel/qquickfolderlistmodel.cpp
index 32c709830a..7b2884df77 100644
--- a/src/imports/folderlistmodel/qquickfolderlistmodel.cpp
+++ b/src/imports/folderlistmodel/qquickfolderlistmodel.cpp
@@ -415,14 +415,14 @@ QModelIndex QQuickFolderListModel::index(int row, int , const QModelIndex &) con
- \qmlproperty string FolderListModel::folder
+ \qmlproperty url FolderListModel::folder
- The \a folder property holds a URL for the folder that the model is
- currently providing.
+ The \a folder property holds a URL for the folder that the model
+ currently provides.
The value must be a \c file: or \c qrc: URL, or a relative URL.
- By default, the value is an invalid URL.
+ The default value is an invalid URL.
QUrl QQuickFolderListModel::folder() const