Don't use qApp->processEvents() if not necessary

Change-Id: I2e92341530f3d79f9c0b47f2007750582db9a361
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
Christian Stenger
2015-06-29 09:22:58 +02:00
parent c7a8a94161
commit 08ab1b6d76
5 changed files with 37 additions and 40 deletions

View File

@@ -51,7 +51,7 @@ signals:
void requestStopTestRun();
public slots:
void runTests();
void prepareToRunTests();
private slots:
void buildProject(ProjectExplorer::Project *project);
@@ -59,13 +59,14 @@ private slots:
void onFinished();
private:
void runTests();
explicit TestRunner(QObject *parent = 0);
QList<TestConfiguration *> m_selectedTests;
bool m_building;
bool m_buildSucceeded;
bool m_executingTests;
// temporarily used if building before running is necessary
QMetaObject::Connection m_buildConnect;
};
} // namespace Internal