forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/12.0'
Change-Id: I04104ef638b28d99da11b9b7a22f31f8d0ddf460
This commit is contained in:
@@ -85,7 +85,7 @@ void TerminalWidget::setupPty()
|
||||
CommandLine{settings().shell(), settings().shellArguments(), CommandLine::Raw});
|
||||
|
||||
if (shellCommand.executable().isRootPath()) {
|
||||
writeToTerminal(Tr::tr("Connecting ...\r\n").toUtf8(), true);
|
||||
writeToTerminal((Tr::tr("Connecting...") + "\r\n").toUtf8(), true);
|
||||
// We still have to find the shell to start ...
|
||||
m_findShellWatcher.reset(new QFutureWatcher<expected_str<FilePath>>());
|
||||
connect(m_findShellWatcher.get(), &QFutureWatcher<FilePath>::finished, this, [this] {
|
||||
@@ -107,7 +107,7 @@ void TerminalWidget::setupPty()
|
||||
shellCommand.executable());
|
||||
if (result && !result->isExecutableFile())
|
||||
return make_unexpected(
|
||||
Tr::tr("'%1' is not executable.").arg(result->toUserOutput()));
|
||||
Tr::tr("\"%1\" is not executable.").arg(result->toUserOutput()));
|
||||
return result;
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user