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:
Alessandro Portale
2018-11-24 17:06:01 +01:00
parent 77c729bb8a
commit f52f25e150
34 changed files with 119 additions and 139 deletions

View File

@@ -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);
}