Commit 1504ab11 authored by Daniel Teske's avatar Daniel Teske Committed by hjk
Browse files

AnalyzerPlugin: Rename member to what it is actually used for



Change-Id: Ia08a976d894e67c33c9c503d219ec12a4a4c46eb
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent f0f65787
......@@ -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()
......
......@@ -85,7 +85,7 @@ private:
Valgrind::Callgrind::CallgrindRunner m_runner;
bool m_markAsPaused;
QStringList m_extraArguments;
QString m_argumentForToggleCollect;
};
} // namespace Internal
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment