Remove parent argument from IEditor constructor

Editors are owned by whoever created them via the corresponding editor
factory, usually the EditorManager.

Change-Id: I4432eab1a3a8c38ce1bba6bb10b0f9273695a524
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Eike Ziller
2020-09-24 09:42:16 +02:00
parent aff11855f7
commit c74714da04
7 changed files with 17 additions and 21 deletions

View File

@@ -38,7 +38,7 @@ using namespace Android;
using namespace Internal;
AndroidManifestEditor::AndroidManifestEditor(AndroidManifestEditorWidget *editorWidget)
: Core::IEditor(editorWidget), m_toolBar(nullptr)
: m_toolBar(nullptr)
{
m_toolBar = new QToolBar(editorWidget);
m_actionGroup = new QActionGroup(this);