[sftp] Also report desktop side errors via KIO
This commit is contained in:
parent
576d0fc566
commit
573ac40809
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,6 @@ bool SftpPlugin::receivePacket(const NetworkPacket& np)
|
|||
remoteDirectories.insert(mountPoint(), i18n("All files"));
|
||||
remoteDirectories.insert(mountPoint() + "/DCIM/Camera", i18n("Camera pictures"));
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -177,6 +176,7 @@ void SftpPlugin::onUnmounted()
|
|||
|
||||
void SftpPlugin::onFailed(const QString& message)
|
||||
{
|
||||
mountError = message;
|
||||
KNotification::event(KNotification::Error, device()->name(), message);
|
||||
|
||||
unmount();
|
||||
|
|
Loading…
Reference in a new issue