forked from qt-creator/qt-creator
Moved "Application Output" formatting to a specialized formatter.
By introducing the OutputFormatter, RunControls can influence the formatting depening on the application started. A nice (and intended) side-effect is that the QML runtime specific formatting will not interfere anymore with anything else.
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
**
|
||||
**************************************************************************/
|
||||
|
||||
#include "qmloutputformatter.h"
|
||||
#include "qmlprojectruncontrol.h"
|
||||
#include "qmlprojectrunconfiguration.h"
|
||||
#include "qmlprojectconstants.h"
|
||||
@@ -102,6 +103,11 @@ 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