diff options
author | David Faure <david.faure@kdab.com> | 2014-02-10 14:16:16 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-11 12:59:05 +0100 |
commit | 1865104d9e937a6fa643a20f68a7b13f2acb0319 (patch) | |
tree | 9422d49d7bb99859b58871e322acd9bf3c2f0b4a /src/corelib/io/qdir.cpp | |
parent | dc05fe7a5b0ca1dda691f5ec04b91800c93adbb5 (diff) |
Doc: Adjust QDir::tempPath docu as recommended by Ossi.
Change-Id: I709d8ce8151f2bb480865067a3e80ed838b26e4a
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'src/corelib/io/qdir.cpp')
-rw-r--r-- | src/corelib/io/qdir.cpp | 3 |
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() */ |