summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKavindra Devi Palaraja <kavindra.palaraja@nokia.com>2009-04-06 11:15:00 (GMT)
committerKavindra Devi Palaraja <kavindra.palaraja@nokia.com>2009-04-06 11:34:38 (GMT)
commitcf65dea821a2ba796bb1f32c80de6b9db224dff5 (patch)
treeb2f61d28b1f623ffb8f7bee0b59cd99dd2a54435
parent5bb504a78cad5e38cd522785a37898f4e88cd272 (diff)
downloadQt-cf65dea821a2ba796bb1f32c80de6b9db224dff5.zip
Qt-cf65dea821a2ba796bb1f32c80de6b9db224dff5.tar.gz
Qt-cf65dea821a2ba796bb1f32c80de6b9db224dff5.tar.bz2
Doc - Mentioned what the default filters are for
QFileSystemModel::filter(). Task-number: 250285 Reviewed-by: Benjamin Poulain <benjamin.poulain@nokia.com>
-rw-r--r--src/gui/dialogs/qfilesystemmodel.cpp5
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
*/