summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/corelib/io/qdir.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/io/qdir.cpp b/src/corelib/io/qdir.cpp
index 797dbbc0ec..c5a0db310a 100644
--- a/src/corelib/io/qdir.cpp
+++ b/src/corelib/io/qdir.cpp
@@ -1945,7 +1945,8 @@ QString QDir::homePath()
variable or \c{/tmp} if \c TMPDIR is not defined. On Windows this is
usually the path in the \c TEMP or \c TMP environment
variable.
- The path returned by this method doesn't end with a directory separator.
+ The path returned by this method doesn't end with a directory separator
+ unless it is the root directory (of a drive).
\sa temp(), currentPath(), homePath(), rootPath()
*/