aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/valgrind/callgrindtool.cpp
diff options
context:
space:
mode:
authorDaniel Teske <[email protected]>2012-02-02 20:30:23 +0100
committerhjk <[email protected]>2012-02-03 09:48:46 +0100
commitf0f657873f9f3584a776d904d21f0955a28b022e (patch)
treebb0ec15b8283ec4d0572ac7ed756b36b513e8ede /src/plugins/valgrind/callgrindtool.cpp
parentde290e03419f9a548b564f1c80a2b9cad142f11e (diff)
Valgrind: String concanetation is faster then .arg
Diffstat (limited to 'src/plugins/valgrind/callgrindtool.cpp')
-rw-r--r--src/plugins/valgrind/callgrindtool.cpp2
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));