TerminalProcess: Add Pty into switch statement

Amends 1da18a4b62

Change-Id: I1cef188a28f19eea3885a17e983b4cf7a4815498
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
Jarek Kobus
2023-03-02 19:58:52 +01:00
parent d387802a3e
commit 13a202564b

View File

@@ -44,13 +44,15 @@ namespace Internal {
static QString modeOption(TerminalMode m)
{
switch (m) {
case TerminalMode::Run:
return QLatin1String("run");
case TerminalMode::Debug:
return QLatin1String("debug");
case TerminalMode::Suspend:
return QLatin1String("suspend");
case TerminalMode::Off:
case TerminalMode::Pty:
return "pty";
case TerminalMode::Run:
return "run";
case TerminalMode::Debug:
return "debug";
case TerminalMode::Suspend:
return "suspend";
case TerminalMode::Off:
QTC_CHECK(false);
break;
}