Verified Commit 237975da authored by Felix Yan's avatar Felix Yan
Browse files

Correct typos in sftp plugin

parent f1b3c0e0
Pipeline #29914 passed with stage
in 6 minutes and 58 seconds
...@@ -69,7 +69,7 @@ bool Mounter::wait() ...@@ -69,7 +69,7 @@ bool Mounter::wait()
qCDebug(KDECONNECT_PLUGIN_SFTP) << "Starting loop to wait for mount"; qCDebug(KDECONNECT_PLUGIN_SFTP) << "Starting loop to wait for mount";
MountLoop loop; MountLoop loop;
connect(this, &Mounter::mounted, &loop, &MountLoop::successed); connect(this, &Mounter::mounted, &loop, &MountLoop::succeeded);
connect(this, &Mounter::failed, &loop, &MountLoop::failed); connect(this, &Mounter::failed, &loop, &MountLoop::failed);
return loop.exec(); return loop.exec();
} }
......
...@@ -35,7 +35,7 @@ void MountLoop::failed() ...@@ -35,7 +35,7 @@ void MountLoop::failed()
exit(1); exit(1);
} }
void MountLoop::successed() void MountLoop::succeeded()
{ {
Q_EMIT result(true); Q_EMIT result(true);
exit(0); exit(0);
......
...@@ -36,7 +36,7 @@ Q_SIGNALS: ...@@ -36,7 +36,7 @@ Q_SIGNALS:
public Q_SLOTS: public Q_SLOTS:
void failed(); void failed();
void successed(); void succeeded();
void exitWith(bool status); void exitWith(bool status);
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment