diff options
author | Kavindra Devi Palaraja <kavindra.palaraja@nokia.com> | 2009-04-06 11:15:00 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-04-07 03:16:17 (GMT) |
commit | b1d02bc759401d478168c1e2d27276ee4ff30c67 (patch) | |
tree | 120b624ccf2ed5e35b80e616ea9032626d73beae | |
parent | c27d0c8bdac01bcf231ac1a9bc5fb2122489f4d2 (diff) | |
download | Qt-b1d02bc759401d478168c1e2d27276ee4ff30c67.zip Qt-b1d02bc759401d478168c1e2d27276ee4ff30c67.tar.gz Qt-b1d02bc759401d478168c1e2d27276ee4ff30c67.tar.bz2 |
Doc - Mentioned what the default filters are for
QFileSystemModel::filter().
Task-number: 250285
Reviewed-by: Benjamin Poulain <benjamin.poulain@nokia.com>
(cherry picked from commit cf65dea821a2ba796bb1f32c80de6b9db224dff5)
-rw-r--r-- | src/gui/dialogs/qfilesystemmodel.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/dialogs/qfilesystemmodel.cpp b/src/gui/dialogs/qfilesystemmodel.cpp index c7b3137..012d3a1 100644 --- a/src/gui/dialogs/qfilesystemmodel.cpp +++ b/src/gui/dialogs/qfilesystemmodel.cpp @@ -1430,7 +1430,10 @@ void QFileSystemModel::setFilter(QDir::Filters filters) } /*! - Returns the filter specification for the directory model. + Returns the filter specified for the directory model. + + If a filter has not been set, the default filter is QDir::AllEntries | + QDir::NoDotAndDotDot | QDir::AllDirs. \sa QDir::Filters */ |