forked from qt-creator/qt-creator
Some clang-tidy -use-modernize-nullptr
Change-Id: I1bed5e85a5b7948d08502a72a10f80baa075c204 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -189,9 +189,9 @@ void SshRemoteProcessRunner::setState(int newState)
|
||||
d->m_process.release()->deleteLater();
|
||||
}
|
||||
if (d->m_connection) {
|
||||
disconnect(d->m_connection, 0, this, 0);
|
||||
disconnect(d->m_connection, nullptr, this, nullptr);
|
||||
QSsh::releaseConnection(d->m_connection);
|
||||
d->m_connection = 0;
|
||||
d->m_connection = nullptr;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user