summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-03-23 11:44:19 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-27 16:35:39 +0200
commit2c4845ce331e5dfaf5e106f74871ce16721a1358 (patch)
tree32bf5ee220e114e0bee7ab49fc79a3a287c0f121 /tests/auto/tools
parent0ee1b4a1dea8b587a5d39bfeb7e18c97f13dd877 (diff)
Fix some compiler warnings in tests.
- Unused variables - Deprecated conversion from const char * to char *. Change-Id: Iea0b9c4613ea74cead6d95ba12ad1028f531cbff Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'tests/auto/tools')
-rw-r--r--tests/auto/tools/qmake/testcompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/tools/qmake/testcompiler.cpp b/tests/auto/tools/qmake/testcompiler.cpp
index 4e5dc26eac..3b77b1ec63 100644
--- a/tests/auto/tools/qmake/testcompiler.cpp
+++ b/tests/auto/tools/qmake/testcompiler.cpp
@@ -128,7 +128,7 @@ TestCompiler::~TestCompiler()
bool TestCompiler::errorOut()
{
- qDebug(qPrintable(testOutput_.join("\n")));
+ qDebug("%s", qPrintable(testOutput_.join(QStringLiteral("\n"))));
return false;
}