forked from qt-creator/qt-creator
Editors: Remove useless parent widget argument from create/duplicate
It was never called with a sensible value anyhow, and only complicates things. Change-Id: I005848700b6c00114d91495670d4a0e15a2d2e64 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -49,9 +49,9 @@ AndroidManifestEditorFactory::AndroidManifestEditorFactory(QObject *parent)
|
||||
new TextEditor::TextEditorActionHandler(this, Constants::ANDROID_MANIFEST_EDITOR_CONTEXT);
|
||||
}
|
||||
|
||||
Core::IEditor *AndroidManifestEditorFactory::createEditor(QWidget *parent)
|
||||
Core::IEditor *AndroidManifestEditorFactory::createEditor()
|
||||
{
|
||||
AndroidManifestEditorWidget *editor = new AndroidManifestEditorWidget(parent);
|
||||
AndroidManifestEditorWidget *editor = new AndroidManifestEditorWidget();
|
||||
TextEditor::TextEditorSettings::initializeEditor(editor);
|
||||
return editor->editor();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user