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>
This commit is contained in:
Sune Vuorela 2016-09-09 09:12:54 +02:00 committed by Giuseppe D'Angelo
parent dd00f6dd91
commit 4268dde1f1

View File

@ -666,7 +666,7 @@ QString QTemporaryFile::fileTemplate() const
/*! /*!
Sets the static portion of the file name to \a name. If the file 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 the unique part of the filename, otherwise a filename will be
determined automatically based on the static portion specified. determined automatically based on the static portion specified.