diff options
author | Daniel Teske <[email protected]> | 2012-02-02 20:30:23 +0100 |
---|---|---|
committer | hjk <[email protected]> | 2012-02-03 09:48:46 +0100 |
commit | f0f657873f9f3584a776d904d21f0955a28b022e (patch) | |
tree | bb0ec15b8283ec4d0572ac7ed756b36b513e8ede /src/plugins/valgrind/callgrindtool.cpp | |
parent | de290e03419f9a548b564f1c80a2b9cad142f11e (diff) |
Valgrind: String concanetation is faster then .arg
Change-Id: Ia92f92f97f8c5aca6ecec31607bb60b06c316eca
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/valgrind/callgrindtool.cpp')
-rw-r--r-- | src/plugins/valgrind/callgrindtool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/valgrind/callgrindtool.cpp b/src/plugins/valgrind/callgrindtool.cpp index a13abc5dc65..81261ef513f 100644 --- a/src/plugins/valgrind/callgrindtool.cpp +++ b/src/plugins/valgrind/callgrindtool.cpp @@ -940,7 +940,7 @@ void CallgrindToolPrivate::handleShowCostsOfFunction() CPlusPlus::Overview view; const QString qualifiedFunctionName = view.prettyName(CPlusPlus::LookupContext::fullyQualifiedName(symbol)); - m_toggleCollectFunction = QString("%1()").arg(qualifiedFunctionName); + m_toggleCollectFunction = qualifiedFunctionName + QLatin1String("()"); AnalyzerManager::selectTool(q, StartMode(StartLocal)); AnalyzerManager::startTool(q, StartMode(StartLocal)); |