aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/ssh/sshremoteprocess.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/ssh/sshremoteprocess.cpp')
-rw-r--r--src/libs/ssh/sshremoteprocess.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/libs/ssh/sshremoteprocess.cpp b/src/libs/ssh/sshremoteprocess.cpp
index 53f1e40431..d310b39851 100644
--- a/src/libs/ssh/sshremoteprocess.cpp
+++ b/src/libs/ssh/sshremoteprocess.cpp
@@ -57,7 +57,6 @@ struct SshRemoteProcess::SshRemoteProcessPrivate
QString remoteCommand;
QStringList connectionArgs;
QString displayName;
- bool useTerminal = false;
};
SshRemoteProcess::SshRemoteProcess(const QString &command, const QStringList &connectionArgs,
@@ -101,11 +100,6 @@ SshRemoteProcess::~SshRemoteProcess()
delete d;
}
-void SshRemoteProcess::requestTerminal()
-{
- d->useTerminal = true;
-}
-
void SshRemoteProcess::requestX11Forwarding(const QString &displayName)
{
d->displayName = displayName;
@@ -122,7 +116,7 @@ Utils::CommandLine SshRemoteProcess::fullLocalCommandLine() const
if (!d->displayName.isEmpty())
cmd.addArg("-X");
- if (d->useTerminal)
+ if (useTerminal())
cmd.addArg("-tt");
cmd.addArg("-q");