From dd527a389027e65881909ab75f2fd3f662b8b71a Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Fri, 28 Jan 2022 12:33:50 +0100 Subject: [PATCH] SshRemoteProcessRunner: Remove unused command() method Change-Id: If45ea80b892cb683aa3737dd73244fa4b669abc4 Reviewed-by: hjk --- src/libs/ssh/sshremoteprocessrunner.cpp | 1 - src/libs/ssh/sshremoteprocessrunner.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/libs/ssh/sshremoteprocessrunner.cpp b/src/libs/ssh/sshremoteprocessrunner.cpp index 2d34ab4eae3..edbc7219b17 100644 --- a/src/libs/ssh/sshremoteprocessrunner.cpp +++ b/src/libs/ssh/sshremoteprocessrunner.cpp @@ -185,7 +185,6 @@ void SshRemoteProcessRunner::setState(int newState) } } -QString SshRemoteProcessRunner::command() const { return d->m_command; } QString SshRemoteProcessRunner::lastConnectionErrorString() const { return d->m_lastConnectionErrorString; } diff --git a/src/libs/ssh/sshremoteprocessrunner.h b/src/libs/ssh/sshremoteprocessrunner.h index 22ed6613fbf..5cb188b2e68 100644 --- a/src/libs/ssh/sshremoteprocessrunner.h +++ b/src/libs/ssh/sshremoteprocessrunner.h @@ -40,7 +40,6 @@ public: ~SshRemoteProcessRunner(); void run(const QString &command, const SshConnectionParameters &sshParams); - QString command() const; QString lastConnectionErrorString() const;