forked from qt-creator/qt-creator
Utils: Remove superfluous qualifications
Change-Id: I36e17dac0cff87f82f0ddaf97bc613389110f218 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
committed by
Tobias Hunger
parent
9f8dbc1d2f
commit
7cee991c70
@@ -53,7 +53,7 @@ ShellCommandPage::ShellCommandPage(QWidget *parent) :
|
||||
resize(264, 200);
|
||||
auto verticalLayout = new QVBoxLayout(this);
|
||||
m_logPlainTextEdit = new QPlainTextEdit;
|
||||
m_formatter = new Utils::OutputFormatter;
|
||||
m_formatter = new OutputFormatter;
|
||||
m_logPlainTextEdit->setReadOnly(true);
|
||||
m_formatter->setPlainTextEdit(m_logPlainTextEdit);
|
||||
|
||||
@@ -86,10 +86,10 @@ void ShellCommandPage::start(ShellCommand *command)
|
||||
m_command = command;
|
||||
command->setProgressiveOutput(true);
|
||||
connect(command, &ShellCommand::stdOutText, this, [this](const QString &text) {
|
||||
m_formatter->appendMessage(text, Utils::StdOutFormat);
|
||||
m_formatter->appendMessage(text, StdOutFormat);
|
||||
});
|
||||
connect(command, &ShellCommand::stdErrText, this, [this](const QString &text) {
|
||||
m_formatter->appendMessage(text, Utils::StdErrFormat);
|
||||
m_formatter->appendMessage(text, StdErrFormat);
|
||||
});
|
||||
connect(command, &ShellCommand::finished, this, &ShellCommandPage::slotFinished);
|
||||
QApplication::setOverrideCursor(Qt::WaitCursor);
|
||||
|
||||
Reference in New Issue
Block a user