Commit 7ccfe19d authored by Tobias Hunger's avatar Tobias Hunger
Browse files

outputparser: Fix overriding a virtual method

Change-Id: I2e0f2525e674e1b1d6e337d211adb16586478518
Reviewed-on: http://codereview.qt.nokia.com/300


Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 794f2967
...@@ -153,9 +153,9 @@ void OutputParserTester::appendOutputParser(IOutputParser *parser) ...@@ -153,9 +153,9 @@ void OutputParserTester::appendOutputParser(IOutputParser *parser)
parser->appendOutputParser(this); parser->appendOutputParser(this);
} }
void OutputParserTester::outputAdded(const QString &line, const QTextCharFormat &textCharFormat) void OutputParserTester::outputAdded(const QString &line, ProjectExplorer::BuildStep::OutputFormat format)
{ {
Q_UNUSED(textCharFormat); Q_UNUSED(format);
if (!m_receivedOutput.isEmpty()) if (!m_receivedOutput.isEmpty())
m_receivedOutput.append(QChar('\n')); m_receivedOutput.append(QChar('\n'));
m_receivedOutput.append(line); m_receivedOutput.append(line);
......
...@@ -77,7 +77,7 @@ signals: ...@@ -77,7 +77,7 @@ signals:
void aboutToDeleteParser(); void aboutToDeleteParser();
private slots: private slots:
void outputAdded(const QString &line, const QTextCharFormat &textCharFormat); void outputAdded(const QString &string, ProjectExplorer::BuildStep::OutputFormat format);
void taskAdded(const ProjectExplorer::Task &task); void taskAdded(const ProjectExplorer::Task &task);
private: private:
......
Supports Markdown
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