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
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment