summaryrefslogtreecommitdiff
path: root/src/plugins/remotelinux/publickeydeploymentdialog.cpp
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2018-11-24 17:06:01 +0100
committerAlessandro Portale <alessandro.portale@qt.io>2018-11-28 17:47:02 +0000
commitf52f25e15054b54e7b515853418f30618a9925d1 (patch)
tree691fdc64a281bdf3ee7b35f04e8e2c973f924b51 /src/plugins/remotelinux/publickeydeploymentdialog.cpp
parent77c729bb8a315dc596d111bddabf0b510094f7cc (diff)
downloadqt-creator-f52f25e15054b54e7b515853418f30618a9925d1.tar.gz
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>
Diffstat (limited to 'src/plugins/remotelinux/publickeydeploymentdialog.cpp')
-rw-r--r--src/plugins/remotelinux/publickeydeploymentdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/remotelinux/publickeydeploymentdialog.cpp b/src/plugins/remotelinux/publickeydeploymentdialog.cpp
index daeeb002c9..1cb506f273 100644
--- a/src/plugins/remotelinux/publickeydeploymentdialog.cpp
+++ b/src/plugins/remotelinux/publickeydeploymentdialog.cpp
@@ -55,7 +55,7 @@ PublicKeyDeploymentDialog *PublicKeyDeploymentDialog::createDialog(const IDevice
tr("Choose Public Key File"), dir,
tr("Public Key Files (*.pub);;All Files (*)"));
if (publicKeyFileName.isEmpty())
- return 0;
+ return nullptr;
return new PublicKeyDeploymentDialog(deviceConfig, publicKeyFileName, parent);
}
@@ -114,7 +114,7 @@ void PublicKeyDeploymentDialog::handleDeploymentFinished(const QString &errorMsg
void PublicKeyDeploymentDialog::handleCanceled()
{
- disconnect(&d->keyDeployer, 0, this, 0);
+ disconnect(&d->keyDeployer, nullptr, this, nullptr);
d->keyDeployer.stopDeployment();
if (d->done)
accept();