Valgrind: Strip QLatin1*

Change-Id: If93ca890ab6d023ab786a5153f50a1dfa03764de
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Orgad Shaneh
2018-12-01 20:56:21 +02:00
committed by Orgad Shaneh
parent 7096649fc2
commit 2c212d48a5
21 changed files with 314 additions and 315 deletions

View File

@@ -80,19 +80,19 @@ QStringList CallgrindToolRunner::toolArguments() const
QTC_ASSERT(m_settings, return arguments);
if (m_settings->enableCacheSim())
arguments << QLatin1String("--cache-sim=yes");
arguments << "--cache-sim=yes";
if (m_settings->enableBranchSim())
arguments << QLatin1String("--branch-sim=yes");
arguments << "--branch-sim=yes";
if (m_settings->collectBusEvents())
arguments << QLatin1String("--collect-bus=yes");
arguments << "--collect-bus=yes";
if (m_settings->collectSystime())
arguments << QLatin1String("--collect-systime=yes");
arguments << "--collect-systime=yes";
if (m_markAsPaused)
arguments << QLatin1String("--instr-atstart=no");
arguments << "--instr-atstart=no";
// add extra arguments
if (!m_argumentForToggleCollect.isEmpty())
@@ -136,7 +136,7 @@ void CallgrindToolRunner::setToggleCollectFunction(const QString &toggleCollectF
if (toggleCollectFunction.isEmpty())
return;
m_argumentForToggleCollect = QLatin1String("--toggle-collect=") + toggleCollectFunction;
m_argumentForToggleCollect = "--toggle-collect=" + toggleCollectFunction;
}
void CallgrindToolRunner::reset()