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

@@ -496,7 +496,7 @@ QString DesktopQmakeRunConfiguration::baseWorkingDirectory() const
QString DesktopQmakeRunConfiguration::commandLineArguments() const
{
return QtcProcess::expandMacros(m_commandLineArguments, macroExpander());
return macroExpander()->expandProcessArgs(m_commandLineArguments);
}
QString DesktopQmakeRunConfiguration::rawCommandLineArguments() const