forked from qt-creator/qt-creator
Get rid of SftpSession
Should be substituted by FilePath actions using remote paths. Change-Id: Ib1e3913cc94d417045cbe6b922284a2f8ab6d71f Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
|
||||
#include "sshconnection.h"
|
||||
|
||||
#include "sftpsession.h"
|
||||
#include "sftptransfer.h"
|
||||
#include "sshlogging_p.h"
|
||||
#include "sshremoteprocess.h"
|
||||
@@ -324,12 +323,6 @@ SftpTransferPtr SshConnection::createDownload(const FilesToTransfer &files,
|
||||
return setupTransfer(files, Internal::FileTransferType::Download, errorHandlingMode);
|
||||
}
|
||||
|
||||
SftpSessionPtr SshConnection::createSftpSession()
|
||||
{
|
||||
QTC_ASSERT(state() == Connected, return SftpSessionPtr());
|
||||
return SftpSessionPtr(new SftpSession(d->connectionArgs(SshSettings::sftpFilePath())));
|
||||
}
|
||||
|
||||
void SshConnection::doConnectToHost()
|
||||
{
|
||||
if (d->state != Connecting)
|
||||
|
||||
Reference in New Issue
Block a user