aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/processcommandexecutor.cpp
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2016-11-07 15:57:08 +0100
committerKai Koehne <kai.koehne@qt.io>2016-11-08 19:17:15 +0000
commit9bf3196033c81099c7d74d4dfddf2bce01cbaff5 (patch)
treef4a17a179fb06f858c2e8b8cefe2fd10dccdd39e /src/lib/corelib/buildgraph/processcommandexecutor.cpp
parent9596e734b3f251a8ab3b74910ba0614fffe72f8f (diff)
Do not use fromLocal8Bit() for string literals
The current locale encoding does have nothing to do with string literals. Use fromLatin1(), which tends to be the fastest for ASCII. Change-Id: I9f1ff603f26812a63e5b23a413ba240c47d5ac23 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/lib/corelib/buildgraph/processcommandexecutor.cpp')
-rw-r--r--src/lib/corelib/buildgraph/processcommandexecutor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/processcommandexecutor.cpp b/src/lib/corelib/buildgraph/processcommandexecutor.cpp
index e797d9fce..49c2cf2f0 100644
--- a/src/lib/corelib/buildgraph/processcommandexecutor.cpp
+++ b/src/lib/corelib/buildgraph/processcommandexecutor.cpp
@@ -126,7 +126,7 @@ void ProcessCommandExecutor::doStart()
const int commandLineLength = m_shellInvocation.length();
if (cmd->responseFileThreshold() >= 0 && commandLineLength > cmd->responseFileThreshold()) {
if (logger().debugEnabled()) {
- logger().qbsDebug() << QString::fromLocal8Bit("[EXEC] Using response file. "
+ logger().qbsDebug() << QString::fromLatin1("[EXEC] Using response file. "
"Threshold is %1. Command line length %2.")
.arg(cmd->responseFileThreshold()).arg(commandLineLength);
}