aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/ssh/sshremoteprocess.h
diff options
context:
space:
mode:
authorJarek Kobus <[email protected]>2022-01-28 12:08:09 +0100
committerJarek Kobus <[email protected]>2022-01-28 11:56:30 +0000
commit95a9b22f6fe07f8417ad94722d456d4a5730f068 (patch)
tree3b3488674515ac0f490a710da108bdc6af397769 /src/libs/ssh/sshremoteprocess.h
parent0c0bd8777ac7010a49647805b2e3d53ff57dacd8 (diff)
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 <[email protected]>
Diffstat (limited to 'src/libs/ssh/sshremoteprocess.h')
-rw-r--r--src/libs/ssh/sshremoteprocess.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/ssh/sshremoteprocess.h b/src/libs/ssh/sshremoteprocess.h
index f8f9bef343b..b5195454b50 100644
--- a/src/libs/ssh/sshremoteprocess.h
+++ b/src/libs/ssh/sshremoteprocess.h
@@ -43,7 +43,7 @@ public:
void requestX11Forwarding(const QString &displayName);
void start();
- Utils::CommandLine fullLocalCommandLine() const;
+ Utils::CommandLine fullLocalCommandLine(bool inTerminal = false) const;
signals:
void done(const QString &error);