summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qtemporaryfile.cpp
diff options
context:
space:
mode:
authorSune Vuorela <sune@vuorela.dk>2016-09-09 09:12:54 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2016-10-06 21:33:29 +0000
commit4268dde1f13a4b8867fd439e8e24f85f8e4741a0 (patch)
tree507d460f2f75896dc9f93c93f815785baf583c6e /src/corelib/io/qtemporaryfile.cpp
parentdd00f6dd91a28f3e76bc4c3e894174efffc7f201 (diff)
QTemporaryFile's setFileTemplate operates not only on XXXXXX in the end
Is even covered by unit tests. Change-Id: I7b22da2a338868fdb99c6238925f944bfea88190 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qtemporaryfile.cpp')
-rw-r--r--src/corelib/io/qtemporaryfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qtemporaryfile.cpp b/src/corelib/io/qtemporaryfile.cpp
index e8e8d8c878..bef900969d 100644
--- a/src/corelib/io/qtemporaryfile.cpp
+++ b/src/corelib/io/qtemporaryfile.cpp
@@ -666,7 +666,7 @@ QString QTemporaryFile::fileTemplate() const
/*!
Sets the static portion of the file name to \a name. If the file
- template ends in XXXXXX that will automatically be replaced with
+ template contains XXXXXX that will automatically be replaced with
the unique part of the filename, otherwise a filename will be
determined automatically based on the static portion specified.