summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2016-03-01 15:31:39 +0100
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2016-03-02 14:53:08 +0000
commit0aed4fd941c610517a68447cafa474a0c26ff2d2 (patch)
tree8a535ba041b3b469a6945b8c0301a6093cdbdff1 /tests/auto/gui
parent52a5ffb505f737836d69e512c50bb6aff0b75f02 (diff)
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>
Diffstat (limited to 'tests/auto/gui')
-rw-r--r--tests/auto/gui/image/qimagewriter/tst_qimagewriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/gui/image/qimagewriter/tst_qimagewriter.cpp b/tests/auto/gui/image/qimagewriter/tst_qimagewriter.cpp
index 1dd4d69ea8..b3fdd00eb6 100644
--- a/tests/auto/gui/image/qimagewriter/tst_qimagewriter.cpp
+++ b/tests/auto/gui/image/qimagewriter/tst_qimagewriter.cpp
@@ -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