AnalyzerPlugin: Rename member to what it is actually used for

Change-Id: Ia08a976d894e67c33c9c503d219ec12a4a4c46eb
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Daniel Teske
2012-02-02 20:26:12 +01:00
committed by hjk
parent f0f657873f
commit 1504ab117b
2 changed files with 4 additions and 3 deletions

View File

@@ -86,7 +86,8 @@ QStringList CallgrindEngine::toolArguments() const
arguments << "--instr-atstart=no";
// add extra arguments
arguments << m_extraArguments;
if (!m_argumentForToggleCollect.isEmpty())
arguments << m_argumentForToggleCollect;
return arguments;
}
@@ -133,7 +134,7 @@ void CallgrindEngine::setToggleCollectFunction(const QString &toggleCollectFunct
if (toggleCollectFunction.isEmpty())
return;
m_extraArguments << QString("--toggle-collect=%1").arg(toggleCollectFunction);
m_argumentForToggleCollect = QLatin1String("--toggle-collect=") + toggleCollectFunction;
}
void CallgrindEngine::reset()