diff options
author | Ritt Konstantin <ritt.ks@gmail.com> | 2010-01-29 12:12:37 (GMT) |
---|---|---|
committer | João Abecasis <joao@trolltech.com> | 2010-01-29 12:12:37 (GMT) |
commit | 0b7474c8ef9167bef92f8a09e8a818334822aa36 (patch) | |
tree | 92740e2ec85a85e6a0b001af64c8bc072bfb9c27 /src | |
parent | ebf9c943b789bb4ce1e1222ed17cc37bd0b1f1fe (diff) | |
download | Qt-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')
-rw-r--r-- | src/corelib/io/qdir.cpp | 5 |
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); |