forked from qt-creator/qt-creator
Debugger: Strip QLatin1* where possible
Change-Id: Idcab23875b5dc2ecf55e3303f417b995e2252720 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
d0d6f99491
commit
147a3c27c4
@@ -797,7 +797,7 @@ QString LldbEngine::errorMessage(QProcess::ProcessError error) const
|
||||
|
||||
void LldbEngine::handleLldbFinished(int exitCode, QProcess::ExitStatus exitStatus)
|
||||
{
|
||||
notifyDebuggerProcessFinished(exitCode, exitStatus, QLatin1String("LLDB"));
|
||||
notifyDebuggerProcessFinished(exitCode, exitStatus, "LLDB");
|
||||
}
|
||||
|
||||
void LldbEngine::readLldbStandardError()
|
||||
@@ -960,7 +960,7 @@ void LldbEngine::fetchDisassembler(DisassemblerAgent *agent)
|
||||
//dl.rawData = line["rawdata"].data();
|
||||
dl.data = line["rawdata"].data();
|
||||
if (!dl.data.isEmpty())
|
||||
dl.data += QString(30 - dl.data.size(), QLatin1Char(' '));
|
||||
dl.data += QString(30 - dl.data.size(), ' ');
|
||||
dl.data += fromHex(line["hexdata"].data());
|
||||
dl.data += line["data"].data();
|
||||
dl.offset = line["offset"].toInt();
|
||||
|
||||
Reference in New Issue
Block a user