From 1865104d9e937a6fa643a20f68a7b13f2acb0319 Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 10 Feb 2014 14:16:16 +0100 Subject: [PATCH] Doc: Adjust QDir::tempPath docu as recommended by Ossi. Change-Id: I709d8ce8151f2bb480865067a3e80ed838b26e4a Reviewed-by: Oswald Buddenhagen --- src/corelib/io/qdir.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/corelib/io/qdir.cpp b/src/corelib/io/qdir.cpp index 797dbbc0ecd..c5a0db310a4 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() */