forked from qt-creator/qt-creator
RemoteLinux: Modernize
modernize-* Change-Id: Ifdf0e781c63941625ca032a8e1752082f4abc3ce Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -203,11 +203,11 @@ void GenericLinuxDeviceTester::handleSftpError(const QString &message)
|
||||
void GenericLinuxDeviceTester::setFinished(TestResult result)
|
||||
{
|
||||
d->state = Inactive;
|
||||
disconnect(&d->portsGatherer, 0, this, 0);
|
||||
disconnect(&d->portsGatherer, nullptr, this, nullptr);
|
||||
if (d->connection) {
|
||||
disconnect(d->connection, 0, this, 0);
|
||||
disconnect(d->connection, nullptr, this, nullptr);
|
||||
d->connection->deleteLater();
|
||||
d->connection = 0;
|
||||
d->connection = nullptr;
|
||||
}
|
||||
emit finished(result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user