diff options
author | hjk <hjk@qt.io> | 2023-04-06 14:28:12 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2023-04-06 17:09:08 +0000 |
commit | 25f7dfac25e8dd3f73ed5d189e2975843e808439 (patch) | |
tree | 09884799d4af62ed5ee505688ca69685fe454595 /src/plugins/projectexplorer/devicesupport/filetransferinterface.h | |
parent | 3eb60d80e5bffb5d852a751584bd7a337d609386 (diff) |
ProjectExplorer: Remove FileTransferDirection
Only 'Upload' is in active use, and the direction determination
gets fiddly when more than one remote device is involved.
If there'd ever be a real need for a 'Download', I add / reimplement
that as a separate case in FileTransferMethod.
Change-Id: I51580a180aae6f0ed5904ff1b828c9ffd6da658c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/plugins/projectexplorer/devicesupport/filetransferinterface.h')
-rw-r--r-- | src/plugins/projectexplorer/devicesupport/filetransferinterface.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/projectexplorer/devicesupport/filetransferinterface.h b/src/plugins/projectexplorer/devicesupport/filetransferinterface.h index 2907f9c257..ce4e662db4 100644 --- a/src/plugins/projectexplorer/devicesupport/filetransferinterface.h +++ b/src/plugins/projectexplorer/devicesupport/filetransferinterface.h @@ -11,12 +11,6 @@ namespace Utils { class ProcessResultData; } namespace ProjectExplorer { -enum class FileTransferDirection { - Invalid, - Upload, - Download -}; - enum class FileTransferMethod { Sftp, Rsync, @@ -29,8 +23,6 @@ class PROJECTEXPLORER_EXPORT FileToTransfer public: Utils::FilePath m_source; Utils::FilePath m_target; - - FileTransferDirection direction() const; }; using FilesToTransfer = QList<FileToTransfer>; |