summaryrefslogtreecommitdiff
path: root/src/plugins/python/pythonutils.cpp
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2022-02-18 00:56:14 +0100
committerJarek Kobus <jaroslaw.kobus@qt.io>2022-02-18 10:51:55 +0000
commit48960b5cfccaeb4d9810d554e227cf04a6979ee2 (patch)
tree8dd694c5c6aa6b61df78443b39124ec345281034 /src/plugins/python/pythonutils.cpp
parent0ee07255f5fe79936e1ad66c7a9b7c0e2500a917 (diff)
downloadqt-creator-48960b5cfccaeb4d9810d554e227cf04a6979ee2.tar.gz
QtcProcess: Extract QtcProcess specific enums into separate header
Change-Id: Ib3498f189000fd8f5501130c0d280b0f5ae83849 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/python/pythonutils.cpp')
-rw-r--r--src/plugins/python/pythonutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/pythonutils.cpp b/src/plugins/python/pythonutils.cpp
index 81ff8b4be4..eb1247dd72 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));