aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/pythoneditor.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2023-08-17 18:48:45 +0200
committerhjk <hjk@qt.io>2023-08-18 07:25:44 +0000
commit26db9f2c9508c0165469fc1add6aba7172924505 (patch)
tree14d9151088ee52349ff76fd98d7e979e4e82fe9b /src/plugins/python/pythoneditor.cpp
parent519a95ce5b85590913ce8fc8957630dc925c4f98 (diff)
Core: De-QObject-ify editor factories
Change-Id: Iaf39ad29576638e994dd2f28d323e445ce2ee93f Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/python/pythoneditor.cpp')
-rw-r--r--src/plugins/python/pythoneditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/pythoneditor.cpp b/src/plugins/python/pythoneditor.cpp
index d23685bc3b7..6a6a377ba0a 100644
--- a/src/plugins/python/pythoneditor.cpp
+++ b/src/plugins/python/pythoneditor.cpp
@@ -268,7 +268,7 @@ void PythonEditorWidget::updateInterpretersSelector()
PythonEditorFactory::PythonEditorFactory()
{
- registerReplAction(this);
+ registerReplAction(&m_guard);
setId(Constants::C_PYTHONEDITOR_ID);
setDisplayName(::Core::Tr::tr(Constants::C_EDITOR_DISPLAY_NAME));