From 48960b5cfccaeb4d9810d554e227cf04a6979ee2 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Fri, 18 Feb 2022 00:56:14 +0100 Subject: QtcProcess: Extract QtcProcess specific enums into separate header Change-Id: Ib3498f189000fd8f5501130c0d280b0f5ae83849 Reviewed-by: Qt CI Bot Reviewed-by: hjk --- src/plugins/python/pythonutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/python/pythonutils.cpp') diff --git a/src/plugins/python/pythonutils.cpp b/src/plugins/python/pythonutils.cpp index 81ff8b4be43..eb1247dd720 100644 --- a/src/plugins/python/pythonutils.cpp +++ b/src/plugins/python/pythonutils.cpp @@ -108,7 +108,7 @@ void openPythonRepl(QObject *parent, const FilePath &file, ReplType type) const auto args = QStringList{"-i"} + replImportArgs(file, type); auto process = new QtcProcess(parent); - process->setTerminalMode(QtcProcess::TerminalOn); + process->setTerminalMode(TerminalMode::On); const FilePath pythonCommand = detectPython(file); process->setCommand({pythonCommand, args}); process->setWorkingDirectory(workingDir(file)); -- cgit v1.2.3