diff options
| author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2022-04-07 16:01:23 +0200 |
|---|---|---|
| committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2022-04-08 15:12:22 +0000 |
| commit | a6fc7727a1efc620ce1459e3bb83cc53ffe97d3a (patch) | |
| tree | 9b36ba988bed49edee8c76a8b40f4472c727da46 /src/libs/ssh/sshconnection.cpp | |
| parent | 5715d433f4429a0eca6f8b07e8f2d47af9caf4a1 (diff) | |
| download | qt-creator-a6fc7727a1efc620ce1459e3bb83cc53ffe97d3a.tar.gz | |
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>
Diffstat (limited to 'src/libs/ssh/sshconnection.cpp')
| -rw-r--r-- | src/libs/ssh/sshconnection.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libs/ssh/sshconnection.cpp b/src/libs/ssh/sshconnection.cpp index 60cde1181e..d1cf80be36 100644 --- a/src/libs/ssh/sshconnection.cpp +++ b/src/libs/ssh/sshconnection.cpp @@ -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) |
