forked from qt-creator/qt-creator
Utils: Change signature of MacroExpander::registerFileVariables
... to take a function returning a FilePath as base. Implementation is (not) yet changed. Change-Id: I624efab35cf38631c816b630be5296bdf696899e Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -598,7 +598,7 @@ void DebuggerRunTool::start()
|
||||
|
||||
Utils::globalMacroExpander()->registerFileVariables(
|
||||
"DebuggedExecutable", tr("Debugged executable"),
|
||||
[this] { return m_runParameters.inferior.executable.toString(); }
|
||||
[this] { return m_runParameters.inferior.executable; }
|
||||
);
|
||||
|
||||
runControl()->setDisplayName(m_runParameters.displayName);
|
||||
|
Reference in New Issue
Block a user