Fix selftests while using QStringBuilder

Change-Id: I6dcd830b96023765447c9683fd95209d4312fb1b
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
This commit is contained in:
Olivier Goffart 2012-02-25 17:54:00 +01:00 committed by Qt by Nokia
parent ec739707d7
commit df055acc81

View 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