forked from qt-creator/qt-creator
AutoTest: Avoid passing around pointer without owner...
...when using signals and slots between threads. Change-Id: Ib1ce607e225cb8d9973393c5bdaeebaa6e30bb41 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -55,7 +55,7 @@ signals:
|
||||
void testRunStarted();
|
||||
void testRunFinished();
|
||||
void requestStopTestRun();
|
||||
void testResultReady(TestResult *result);
|
||||
void testResultReady(const TestResultPtr &result);
|
||||
|
||||
public slots:
|
||||
void prepareToRunTests();
|
||||
@@ -69,7 +69,7 @@ private:
|
||||
void runTests();
|
||||
explicit TestRunner(QObject *parent = 0);
|
||||
|
||||
QFutureWatcher<TestResult *> m_futureWatcher;
|
||||
QFutureWatcher<TestResultPtr> m_futureWatcher;
|
||||
QList<TestConfiguration *> m_selectedTests;
|
||||
bool m_executingTests;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user