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:
@@ -29,6 +29,7 @@
|
||||
|
||||
#include "runconfiguration.h"
|
||||
|
||||
#include "outputformatter.h"
|
||||
#include "project.h"
|
||||
#include "target.h"
|
||||
#include "buildconfiguration.h"
|
||||
@@ -236,6 +237,11 @@ bool RunControl::sameRunConfiguration(RunControl *other)
|
||||
return other->m_runConfiguration.data() == m_runConfiguration.data();
|
||||
}
|
||||
|
||||
OutputFormatter *RunControl::createOutputFormatter(QObject *parent)
|
||||
{
|
||||
return new OutputFormatter(parent);
|
||||
}
|
||||
|
||||
void RunControl::bringApplicationToForeground(qint64 pid)
|
||||
{
|
||||
#ifdef Q_OS_MAC
|
||||
|
||||
Reference in New Issue
Block a user