Fix selftests while using QStringBuilder
authorOlivier Goffart <ogoffart@woboq.com>
Sat, 25 Feb 2012 16:54:00 +0000 (17:54 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 27 Feb 2012 11:49:38 +0000 (12:49 +0100)
Change-Id: I6dcd830b96023765447c9683fd95209d4312fb1b
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
tests/auto/testlib/selftests/tst_selftests.cpp

index decaa55..7367d66 100644 (file)
@@ -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