forked from qt-creator/qt-creator
Refactor OutputFormatter
Move link handling code to outputwindow from OutputFormatter Move createOutputFormatter to the RunConfiguration That makes it easier for Qt4RunConfiguration et all. This also fixes that each time a runcontrol was rerun a new OutputFormatter was created without deleting the old one, thus increasing the memory usage.
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
**
|
||||
**************************************************************************/
|
||||
|
||||
#include "qmloutputformatter.h"
|
||||
#include "qmlprojectruncontrol.h"
|
||||
#include "qmlprojectrunconfiguration.h"
|
||||
#include "qmlprojectconstants.h"
|
||||
@@ -103,11 +102,6 @@ bool QmlRunControl::isRunning() const
|
||||
return m_applicationLauncher.isRunning();
|
||||
}
|
||||
|
||||
ProjectExplorer::OutputFormatter *QmlRunControl::createOutputFormatter(QObject *parent)
|
||||
{
|
||||
return new QmlOutputFormatter(parent);
|
||||
}
|
||||
|
||||
void QmlRunControl::slotBringApplicationToForeground(qint64 pid)
|
||||
{
|
||||
bringApplicationToForeground(pid);
|
||||
|
Reference in New Issue
Block a user