Spelling corrections in kde-connect sftp plugin

Reviewers: kdeconnect, nicolasfella

Reviewed By: nicolasfella

Subscribers: nicolasfella, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D15478
This commit is contained in:
Mark Dominus 2018-09-13 15:44:52 +02:00 committed by Nicolas Fella
parent a0c6047a41
commit e409cdfdaa
3 changed files with 11 additions and 11 deletions

View file

@ -1,16 +1,16 @@
This plugins receives packages with type "kdeconnect.sftp" and reads the This plugin receives packages with type "kdeconnect.sftp" and reads the
following fields: following fields:
ip (string): ip of the curretly active network on device ip (string): ip of the currently active network on device
port (string): port where sftp server starts port (string): port where sftp server starts
user (string): username to connect to sftp server user (string): username to connect to sftp server
password (string): one session password to access sftp server password (string): one session password to access sftp server
path (string): root directory to access device filesystem path (string): root directory to access device filesystem
This plugins sends packages with type "kdeconnect.sftp" and fills the This plugin sends packages with type "kdeconnect.sftp" and fills the
following fields: following fields:
startBrowsing (boolean): tell device to start sftp server and noify desktop startBrowsing (boolean): tell device to start sftp server and notify desktop

View file

@ -39,7 +39,7 @@ Mounter::Mounter(SftpPlugin* sftp)
, m_started(false) , m_started(false)
{ {
connect(m_sftp, &SftpPlugin::packetReceived, this, &Mounter::onPakcageReceived); connect(m_sftp, &SftpPlugin::packetReceived, this, &Mounter::onPackageReceived);
connect(&m_connectTimer, &QTimer::timeout, this, &Mounter::onMountTimeout); connect(&m_connectTimer, &QTimer::timeout, this, &Mounter::onMountTimeout);
@ -74,7 +74,7 @@ bool Mounter::wait()
return loop.exec(); return loop.exec();
} }
void Mounter::onPakcageReceived(const NetworkPacket& np) void Mounter::onPackageReceived(const NetworkPacket& np)
{ {
if (np.get<bool>(QStringLiteral("stop"), false)) if (np.get<bool>(QStringLiteral("stop"), false))
{ {

View file

@ -46,7 +46,7 @@ Q_SIGNALS:
void failed(const QString& message); void failed(const QString& message);
private Q_SLOTS: private Q_SLOTS:
void onPakcageReceived(const NetworkPacket& np); void onPackageReceived(const NetworkPacket& np);
void onStarted(); void onStarted();
void onError(QProcess::ProcessError error); void onError(QProcess::ProcessError error);
void onFinished(int exitCode, QProcess::ExitStatus exitStatus); void onFinished(int exitCode, QProcess::ExitStatus exitStatus);