diff options
-rw-r--r-- | src/corelib/io/qdir.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/corelib/io/qdir.cpp b/src/corelib/io/qdir.cpp index b774f87dc5..16fd09efdb 100644 --- a/src/corelib/io/qdir.cpp +++ b/src/corelib/io/qdir.cpp @@ -1698,7 +1698,11 @@ bool QDir::isRoot() const Returns \c true if \a path is absolute; returns \c false if it is relative. - \sa isAbsolute(), isRelativePath(), makeAbsolute(), cleanPath() + \note If \a path starts with ':', this function will return \c true + because paths starting with ':' are treated specially as they denote + a QResource. + + \sa isAbsolute(), isRelativePath(), makeAbsolute(), cleanPath(), QResource */ /*! |