From f9ce335a6dffb2866cfaa6d97c0430bee6e34e22 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Tue, 7 Jan 2014 14:41:57 +0100 Subject: 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 --- src/plugins/resourceeditor/resourceeditorfactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/resourceeditor/resourceeditorfactory.cpp') diff --git a/src/plugins/resourceeditor/resourceeditorfactory.cpp b/src/plugins/resourceeditor/resourceeditorfactory.cpp index 6999022d4f..824aed6c20 100644 --- a/src/plugins/resourceeditor/resourceeditorfactory.cpp +++ b/src/plugins/resourceeditor/resourceeditorfactory.cpp @@ -53,8 +53,8 @@ ResourceEditorFactory::ResourceEditorFactory(ResourceEditorPlugin *plugin) : Core::FileIconProvider::registerIconOverlayForSuffix(":/resourceeditor/images/qt_qrc.png", "qrc"); } -Core::IEditor *ResourceEditorFactory::createEditor(QWidget *parent) +Core::IEditor *ResourceEditorFactory::createEditor() { Core::Context context(ResourceEditor::Constants::C_RESOURCEEDITOR); - return new ResourceEditorW(context, m_plugin, parent); + return new ResourceEditorW(context, m_plugin); } -- cgit v1.2.1