diff options
author | hjk <[email protected]> | 2022-04-08 11:35:54 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2022-04-12 08:43:09 +0000 |
commit | 530b9ae85a19913c2421f26c738676b0c951d99f (patch) | |
tree | 097fa51fe12f2e663ad82ab7bcdcd9ee07f40b04 /src/plugins/valgrind/valgrindengine.cpp | |
parent | 24b4a7be74543226345d34797cd740a7a5b2969a (diff) |
ProjectExplorer: Copy more RunConfiguration data to RunControl
The aspects are now responsible for defining what data needs
to be copied and also to provide a suitable interface (kind
of source-compatible to direct use) for access.
The important change here is that RunControl::aspect(...) doesn't
need to access RunControl::runConfiguration() in fully aspectified
RunConfigurations anymore. In not-fully aspectified the runConfig
access is moved to the user code to make the problem visible there.
Long term, aspectification should be finished.
As an additional benefit, the resolving of macros etc can
now be done at the correct time.
Change-Id: I690d9f8f696ce9b4efd42082ba3f81b514efcb77
Reviewed-by: <[email protected]>
Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'src/plugins/valgrind/valgrindengine.cpp')
-rw-r--r-- | src/plugins/valgrind/valgrindengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/valgrind/valgrindengine.cpp b/src/plugins/valgrind/valgrindengine.cpp index 6b34dc809dc..6f1fc91be96 100644 --- a/src/plugins/valgrind/valgrindengine.cpp +++ b/src/plugins/valgrind/valgrindengine.cpp @@ -87,7 +87,7 @@ void ValgrindToolRunner::start() m_runner.setDebuggee(runnable()); if (auto aspect = runControl()->aspect<TerminalAspect>()) - m_runner.setUseTerminal(aspect->useTerminal()); + m_runner.setUseTerminal(aspect->useTerminal); connect(&m_runner, &ValgrindRunner::processOutputReceived, this, &ValgrindToolRunner::receiveProcessOutput); |