diff options
| author | Sze Howe Koh <szehowe.koh@gmail.com> | 2023-08-31 14:09:55 +0800 |
|---|---|---|
| committer | Sze Howe Koh <szehowe.koh@gmail.com> | 2023-08-31 09:20:27 +0000 |
| commit | e041ba46f2f407a306746b6a1dbe7d48a40401b7 (patch) | |
| tree | 45a54959345fb40a5a8209ddda5ed66ba7e9e676 /src/labs/folderlistmodel/qquickfolderlistmodel.cpp | |
| parent | 751767d5ca31789ba73a29d815af25e0076e2f64 (diff) | |
Doc: Fix incorrect default value for FolderListModel.folder
This behavior has been in place since Qt 5 (or perhaps even earlier)
Change-Id: If60192e4302f5b1316d29dc42139eb66855789a1
Pick-to: 6.6 6.5 6.2 5.15
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/labs/folderlistmodel/qquickfolderlistmodel.cpp')
| -rw-r--r-- | src/labs/folderlistmodel/qquickfolderlistmodel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/labs/folderlistmodel/qquickfolderlistmodel.cpp b/src/labs/folderlistmodel/qquickfolderlistmodel.cpp index 31466f182f..793b95505f 100644 --- a/src/labs/folderlistmodel/qquickfolderlistmodel.cpp +++ b/src/labs/folderlistmodel/qquickfolderlistmodel.cpp @@ -400,7 +400,8 @@ QModelIndex QQuickFolderListModel::index(int row, int , const QModelIndex &) con The value must be a \c file: or \c qrc: URL, or a relative URL. - The default value is an invalid URL. + The default value is the application's working directory at the time + when the FolderListModel is first initialized. */ QUrl QQuickFolderListModel::folder() const { |
