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>
This commit is contained in:
Friedemann Kleint 2016-03-01 15:31:39 +01:00
parent 52a5ffb505
commit 0aed4fd941

View File

@ -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