summaryrefslogtreecommitdiff
path: root/src/plugins/remotelinux/sshkeydeployer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/remotelinux/sshkeydeployer.cpp')
-rw-r--r--src/plugins/remotelinux/sshkeydeployer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/remotelinux/sshkeydeployer.cpp b/src/plugins/remotelinux/sshkeydeployer.cpp
index ff6b0d3bf0..cb55102a1e 100644
--- a/src/plugins/remotelinux/sshkeydeployer.cpp
+++ b/src/plugins/remotelinux/sshkeydeployer.cpp
@@ -58,7 +58,7 @@ void SshKeyDeployer::deployPublicKey(const SshConnectionParameters &sshParams,
cleanup();
Utils::FileReader reader;
- if (!reader.fetch(keyFilePath)) {
+ if (!reader.fetch(Utils::FilePath::fromString(keyFilePath))) {
emit error(tr("Public key error: %1").arg(reader.errorString()));
return;
}