From 95a9b22f6fe07f8417ad94722d456d4a5730f068 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Fri, 28 Jan 2022 12:08:09 +0100 Subject: QtcProcess: Get rid of useTerminal Remove SshRemoteProcessRunner::runInTerminal() method, it wasn't used anywhere (just in test). Remove QtcProcess::useTerminal, as process should be created in TerminalOn mode when there is a need for terminal. Add a parameter to SshRemoteProcess::fullLocalCommandLine(bool inTerminal) as this may still be needed when running application through ssh from terminal (ssh -tt option). Change-Id: I71911082fcca190b82a1106a2ca1ca48dc5d4c79 Reviewed-by: hjk --- src/libs/ssh/sshremoteprocessrunner.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/libs/ssh/sshremoteprocessrunner.h') diff --git a/src/libs/ssh/sshremoteprocessrunner.h b/src/libs/ssh/sshremoteprocessrunner.h index 6ad2ac6205a..22ed6613fbf 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); - void runInTerminal(const QString &command, const SshConnectionParameters &sshParams); QString command() const; QString lastConnectionErrorString() const; -- cgit v1.2.3