From ced6fc41368d4c0b567af6f97825ccc4a635222d Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Mon, 9 Jan 2012 16:30:33 +0100 Subject: ProjectExplorer: Compile with QT_NO_CAST_FROM_ASCII. - Add missing translations - Remove some unneeded conversions. Change-Id: Ia30e5c838099e52a9f38ca4854395c10c0391075 Reviewed-by: Daniel Teske --- src/plugins/projectexplorer/outputparser_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/projectexplorer/outputparser_test.cpp') diff --git a/src/plugins/projectexplorer/outputparser_test.cpp b/src/plugins/projectexplorer/outputparser_test.cpp index 516b767a04..5e6ae0deb3 100644 --- a/src/plugins/projectexplorer/outputparser_test.cpp +++ b/src/plugins/projectexplorer/outputparser_test.cpp @@ -61,7 +61,7 @@ void OutputParserTester::testParsing(const QString &lines, reset(); Q_ASSERT(childParser()); - QStringList inputLines = lines.split(QChar('\n')); + QStringList inputLines = lines.split(QLatin1Char('\n')); foreach (const QString &input, inputLines) { if (inputChannel == STDOUT) childParser()->stdOutput(input + QLatin1Char('\n')); @@ -158,7 +158,7 @@ void OutputParserTester::outputAdded(const QString &line, ProjectExplorer::Build { Q_UNUSED(format); if (!m_receivedOutput.isEmpty()) - m_receivedOutput.append(QChar('\n')); + m_receivedOutput.append(QLatin1Char('\n')); m_receivedOutput.append(line); } -- cgit v1.2.3