summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2020-01-15 12:44:58 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2020-01-15 13:13:27 +0000
commite8a5dcee4921f5c4d40279fae01345f2a3a378fe (patch)
tree1d27648fa0a74c2e1e2fd04ce6e0aa6f65816f0d
parent0908447e4f45c52650478d2710043ace6037243c (diff)
downloadqt-creator-e8a5dcee4921f5c4d40279fae01345f2a3a378fe.tar.gz
SSH device: Ensure ConsoleProcess respects terminal settings
Fixes: QTCREATORBUG-23470 Change-Id: I0ac67226ee482814cdde44e518651e672be4e0eb Reviewed-by: hjk <hjk@qt.io>
-rw-r--r--src/plugins/projectexplorer/devicesupport/sshdeviceprocess.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/devicesupport/sshdeviceprocess.cpp b/src/plugins/projectexplorer/devicesupport/sshdeviceprocess.cpp
index 56fd1b9503..786b0cf019 100644
--- a/src/plugins/projectexplorer/devicesupport/sshdeviceprocess.cpp
+++ b/src/plugins/projectexplorer/devicesupport/sshdeviceprocess.cpp
@@ -28,6 +28,7 @@
#include "idevice.h"
#include "../runcontrol.h"
+#include <coreplugin/icore.h>
#include <ssh/sshconnection.h>
#include <ssh/sshconnectionmanager.h>
#include <ssh/sshremoteprocess.h>
@@ -201,6 +202,7 @@ void SshDeviceProcess::handleConnected()
connect(&d->consoleProcess, &ConsoleProcess::stubStopped,
this, [this] { handleProcessFinished(d->consoleProcess.errorString()); });
d->consoleProcess.setAbortOnMetaChars(false);
+ d->consoleProcess.setSettings(Core::ICore::settings());
d->consoleProcess.setCommand(d->process->fullLocalCommandLine());
d->consoleProcess.start();
} else {