tst_qimagewriter: Fix leaking temporary files.
Add missing slash to the prefix pointing to the temporary directory. Change-Id: I0d00f706af58214a9922758a60d097cab7d6bc9d Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>bb10
parent
52a5ffb505
commit
0aed4fd941
|
|
@ -117,7 +117,7 @@ void tst_QImageWriter::initTestCase()
|
|||
prefix = QFINDTESTDATA("images/");
|
||||
if (prefix.isEmpty())
|
||||
QFAIL("Can't find images directory!");
|
||||
writePrefix = m_temporaryDir.path();
|
||||
writePrefix = m_temporaryDir.path() + QLatin1Char('/');
|
||||
}
|
||||
|
||||
// Testing get/set functions
|
||||
|
|
|
|||
Loading…
Reference in New Issue