Mention the FolderListModel dep of QQuickFolderListModel

The documentation now mentions that QQuickFolderListModel's
functionality is limited when FileSystemWatcher is disabled.

Fixes: QTBUG-108266
Change-Id: I114eea24772bc58bc7ee13cc604b6bf541415edb
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
Mikolaj Boc 2022-12-16 14:07:54 +01:00
parent 3f8b598720
commit 80310d1faf
1 changed files with 6 additions and 0 deletions

View File

@ -217,6 +217,12 @@ QString QQuickFolderListModelPrivate::resolvePath(const QUrl &path)
\e{Elements in the Qt.labs module are not guaranteed to remain compatible
in future versions.}
\note Some features in FolderListModel depend on \l QFileSystemWatcher. If \l QFileSystemWatcher
is disabled, the folder set using \c setFolder is not watched for changes, which results in
signals typically emitted on directory changes (like directoryUpdated or directoryChanged) not
being emitted without manually calling \c setFolder again. For more information, see
\l{Qt Configure Options}.
\qml
import Qt.labs.folderlistmodel
\endqml