diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2020-04-15 09:31:51 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2020-04-15 09:07:17 +0000 |
commit | d42920d372dea4bec69f8d4da67e25bce5b7c6a6 (patch) | |
tree | ea8fbe0c212bed930ffa1009701b269cd6e6015c /src/plugins/projectexplorer/appoutputpane.cpp | |
parent | c1dc36011fed69937c1a6b70d6811ea9542acc88 (diff) |
OutputFormatter: Take ownership of the line parsers
For symmetry with IOutputParser.
Task-number: QTCREATORBUG-22665
Change-Id: I92e93b32e87ff4f3fa163a2d2fe13768e56bfa24
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/appoutputpane.cpp')
-rw-r--r-- | src/plugins/projectexplorer/appoutputpane.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/appoutputpane.cpp b/src/plugins/projectexplorer/appoutputpane.cpp index d16f6fb702..83877266d0 100644 --- a/src/plugins/projectexplorer/appoutputpane.cpp +++ b/src/plugins/projectexplorer/appoutputpane.cpp @@ -154,7 +154,7 @@ AppOutputPane::RunControlTab::RunControlTab(RunControl *runControl, Core::Output runControl(runControl), window(w) { if (runControl && w) - w->setLineParsers(runControl->outputParsers()); + w->setLineParsers(runControl->createOutputParsers()); } AppOutputPane::AppOutputPane() : @@ -404,7 +404,7 @@ void AppOutputPane::createNewOutputWindow(RunControl *rc) if (tab.runControl) tab.runControl->initiateFinish(); tab.runControl = rc; - tab.window->setLineParsers(rc->outputParsers()); + tab.window->setLineParsers(rc->createOutputParsers()); handleOldOutput(tab.window); |