diff options
author | Sune Vuorela <sune@vuorela.dk> | 2016-09-09 09:12:54 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2016-10-06 21:33:29 +0000 |
commit | 4268dde1f13a4b8867fd439e8e24f85f8e4741a0 (patch) | |
tree | 507d460f2f75896dc9f93c93f815785baf583c6e | |
parent | dd00f6dd91a28f3e76bc4c3e894174efffc7f201 (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>
-rw-r--r-- | src/corelib/io/qtemporaryfile.cpp | 2 |
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. |