From 237975da355f161194f0817fc5f8c8b6faf31a3b Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Thu, 6 Aug 2020 19:51:31 +0800 Subject: [PATCH] Correct typos in sftp plugin --- plugins/sftp/mounter.cpp | 2 +- plugins/sftp/mountloop.cpp | 2 +- plugins/sftp/mountloop.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/sftp/mounter.cpp b/plugins/sftp/mounter.cpp index b435a56b1..816f83223 100644 --- a/plugins/sftp/mounter.cpp +++ b/plugins/sftp/mounter.cpp @@ -69,7 +69,7 @@ bool Mounter::wait() qCDebug(KDECONNECT_PLUGIN_SFTP) << "Starting loop to wait for mount"; MountLoop loop; - connect(this, &Mounter::mounted, &loop, &MountLoop::successed); + connect(this, &Mounter::mounted, &loop, &MountLoop::succeeded); connect(this, &Mounter::failed, &loop, &MountLoop::failed); return loop.exec(); } diff --git a/plugins/sftp/mountloop.cpp b/plugins/sftp/mountloop.cpp index cdb8ad8d7..0e8819a5a 100644 --- a/plugins/sftp/mountloop.cpp +++ b/plugins/sftp/mountloop.cpp @@ -35,7 +35,7 @@ void MountLoop::failed() exit(1); } -void MountLoop::successed() +void MountLoop::succeeded() { Q_EMIT result(true); exit(0); diff --git a/plugins/sftp/mountloop.h b/plugins/sftp/mountloop.h index 81c810b12..5efd13d88 100644 --- a/plugins/sftp/mountloop.h +++ b/plugins/sftp/mountloop.h @@ -36,7 +36,7 @@ Q_SIGNALS: public Q_SLOTS: void failed(); - void successed(); + void succeeded(); void exitWith(bool status); };