aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2018-02-01 12:08:57 +0100
committerChristian Stenger <christian.stenger@qt.io>2018-02-01 12:21:19 +0000
commit0c50d54da7439fd4c2a56abab9781ceeff0e28b6 (patch)
tree39968a8ef761b1e2399e3d254dd961ec00bdc756
parente05d2d9dc8df58649f005848395df1a3bea81554 (diff)
Tests: Fix compile for Qt5.6
Unfortunately fixed on master instead of 4.6. Change-Id: Ie1e91135899353d81857b75d4e461a5a8cd240d4 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io> (cherry picked from commit 962023648c961698a49a2240f6c2c7c73a7e8ea5)
-rw-r--r--tests/auto/environment/tst_environment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/environment/tst_environment.cpp b/tests/auto/environment/tst_environment.cpp
index 3a835df46d..ed42cbbefa 100644
--- a/tests/auto/environment/tst_environment.cpp
+++ b/tests/auto/environment/tst_environment.cpp
@@ -280,7 +280,7 @@ void tst_Environment::find()
QCOMPARE((end != it), contains);
if (contains)
- QCOMPARE(it.value(), "bar");
+ QCOMPARE(it.value(), QString("bar"));
}