summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorRitt Konstantin <ritt.ks@gmail.com>2010-01-29 12:12:37 (GMT)
committerJoão Abecasis <joao@trolltech.com>2010-01-29 12:12:37 (GMT)
commit0b7474c8ef9167bef92f8a09e8a818334822aa36 (patch)
tree92740e2ec85a85e6a0b001af64c8bc072bfb9c27 /src/corelib/io
parentebf9c943b789bb4ce1e1222ed17cc37bd0b1f1fe (diff)
downloadQt-0b7474c8ef9167bef92f8a09e8a818334822aa36.zip
Qt-0b7474c8ef9167bef92f8a09e8a818334822aa36.tar.gz
Qt-0b7474c8ef9167bef92f8a09e8a818334822aa36.tar.bz2
Fix QDir::operator[] documentation
Merge-request: 445 Reviewed-by: João Abecasis <joao@trolltech.com>
Diffstat (limited to 'src/corelib/io')
-rw-r--r--src/corelib/io/qdir.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/corelib/io/qdir.cpp b/src/corelib/io/qdir.cpp
index dc7f17e..eb5f3de 100644
--- a/src/corelib/io/qdir.cpp
+++ b/src/corelib/io/qdir.cpp
@@ -1260,13 +1260,10 @@ uint QDir::count() const
/*!
Returns the file name at position \a pos in the list of file
names. Equivalent to entryList().at(index).
-
- Returns an empty string if \a pos is out of range or if the
- entryList() function failed.
+ \a pos must be a valid index position in the list (i.e., 0 <= pos < count()).
\sa count(), entryList()
*/
-
QString QDir::operator[](int pos) const
{
Q_D(const QDir);