From: Olivier Goffart Date: Sat, 25 Feb 2012 16:54:00 +0000 (+0100) Subject: Fix selftests while using QStringBuilder X-Git-Tag: qt-v5.0.0-alpha1~748 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df055acc81f555011524a79cae3509669bbd0b8b;p=profile%2Fivi%2Fqtbase.git Fix selftests while using QStringBuilder Change-Id: I6dcd830b96023765447c9683fd95209d4312fb1b Reviewed-by: Jason McDonald --- diff --git a/tests/auto/testlib/selftests/tst_selftests.cpp b/tests/auto/testlib/selftests/tst_selftests.cpp index decaa55..7367d66 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