Correct typos in sftp plugin

This commit is contained in:
Felix Yan 2020-08-06 19:51:31 +08:00
parent f1b3c0e0ca
commit 237975da35
No known key found for this signature in database
GPG key ID: 786C63F330D7CB92
3 changed files with 3 additions and 3 deletions

View file

@ -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();
}

View file

@ -35,7 +35,7 @@ void MountLoop::failed()
exit(1);
}
void MountLoop::successed()
void MountLoop::succeeded()
{
Q_EMIT result(true);
exit(0);

View file

@ -36,7 +36,7 @@ Q_SIGNALS:
public Q_SLOTS:
void failed();
void successed();
void succeeded();
void exitWith(bool status);
};