Skip to content
Snippets Groups Projects
Commit fc67c5ca authored by dt's avatar dt
Browse files

Disconnect the output parser on taking it out of the chain

Reviewed-By: hunger
parent 2068792c
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,10 @@ void IOutputParser::appendOutputParser(IOutputParser *parser)
IOutputParser *IOutputParser::takeOutputParserChain()
{
IOutputParser *parser = m_parser;
disconnect(parser, SIGNAL(addOutput(QString)),
this, SLOT(outputAdded(QString)));
disconnect(parser, SIGNAL(addTask(ProjectExplorer::Task)),
this, SLOT(taskAdded(ProjectExplorer::Task)));
m_parser = 0;
return parser;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment