summaryrefslogtreecommitdiff
path: root/src/plugins/pythoneditor/pythoneditorfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditorfactory.cpp')
-rw-r--r--src/plugins/pythoneditor/pythoneditorfactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/pythoneditor/pythoneditorfactory.cpp b/src/plugins/pythoneditor/pythoneditorfactory.cpp
index acf42d7f8a..c549646405 100644
--- a/src/plugins/pythoneditor/pythoneditorfactory.cpp
+++ b/src/plugins/pythoneditor/pythoneditorfactory.cpp
@@ -55,9 +55,9 @@ EditorFactory::EditorFactory(QObject *parent)
| TextEditor::TextEditorActionHandler::UnCollapseAll);
}
-Core::IEditor *EditorFactory::createEditor(QWidget *parent)
+Core::IEditor *EditorFactory::createEditor()
{
- EditorWidget *widget = new EditorWidget(parent);
+ EditorWidget *widget = new EditorWidget();
TextEditor::TextEditorSettings::initializeEditor(widget);
return widget->editor();