Utils: MacroExpander API cosmetics.

Make const-correct, add convenience function for commandline parameter
expansion.

Change-Id: I12c3651e4e7b8a0a9319d1dfbea676b622b1a41a
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
hjk
2014-10-21 13:19:38 +02:00
parent 1b3db2f57b
commit 35e883eea0
14 changed files with 88 additions and 64 deletions

View File

@@ -135,7 +135,7 @@ QString CMakeRunConfiguration::baseWorkingDirectory() const
QString CMakeRunConfiguration::commandLineArguments() const
{
return Utils::QtcProcess::expandMacros(m_arguments, macroExpander());
return macroExpander()->expandProcessArgs(m_arguments);
}
QString CMakeRunConfiguration::title() const