forked from qt-creator/qt-creator
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:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user