forked from qt-creator/qt-creator
TerminalProcess: Add Pty into switch statement
Amends 1da18a4b62
Change-Id: I1cef188a28f19eea3885a17e983b4cf7a4815498
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user