buildoutputparser: Adapt to removal of "slot" keyword

Was forgotten in 7b71ac3821.

Change-Id: I5f2d5dc17092d2761c8ba98df8e82fb644954833
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Christian Kandeler
2017-05-02 15:52:24 +02:00
parent b07d26d43e
commit db352bfc80
2 changed files with 3 additions and 2 deletions

View File

@@ -30,6 +30,7 @@
#include <QMetaObject>
#include <QFileInfo>
#include <QStringList>
#include <QTimer>
#include <stdio.h>
#include <stdlib.h>
@@ -98,6 +99,6 @@ int main(int argc, char *argv[])
return EXIT_FAILURE;
}
CompilerOutputProcessor cop(compilerType, compilerOutputFile);
QMetaObject::invokeMethod(&cop, "start", Qt::QueuedConnection);
QTimer::singleShot(0, &cop, &CompilerOutputProcessor::start);
return app.exec();
}

View File

@@ -47,8 +47,8 @@ public:
CompilerOutputProcessor(CompilerType compilerType, QIODevice &source);
~CompilerOutputProcessor();
private:
void start();
private:
void handleTask(const ProjectExplorer::Task &task);
const CompilerType m_compilerType;