From df055acc81f555011524a79cae3509669bbd0b8b Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Sat, 25 Feb 2012 17:54:00 +0100 Subject: Fix selftests while using QStringBuilder Change-Id: I6dcd830b96023765447c9683fd95209d4312fb1b Reviewed-by: Jason McDonald --- tests/auto/testlib/selftests/tst_selftests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/testlib') diff --git a/tests/auto/testlib/selftests/tst_selftests.cpp b/tests/auto/testlib/selftests/tst_selftests.cpp index decaa55386..7367d664b2 100644 --- a/tests/auto/testlib/selftests/tst_selftests.cpp +++ b/tests/auto/testlib/selftests/tst_selftests.cpp @@ -155,7 +155,7 @@ static inline QString logFormat(const QString &logger) // Return the log file name, or an empty string if the log goes to stdout. static inline QString logName(const QString &logger) { - return (logger.startsWith("stdout") ? "" : "test_output." + logger); + return (logger.startsWith("stdout") ? "" : QString("test_output." + logger)); } // Load the expected test output for the nominated test (subdir) and logger -- cgit v1.2.3