forked from qt-creator/qt-creator
Designer: Use static pattern for FormEditorW singleton
Change-Id: Icf4a0135d9bc8441d468fd77abe29adcee677bb9 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -51,7 +51,7 @@ DesignerContext::DesignerContext(const Core::Context &context,
|
||||
|
||||
QString DesignerContext::contextHelpId() const
|
||||
{
|
||||
const QDesignerFormEditorInterface *core = FormEditorW::instance()->designerEditor();
|
||||
const QDesignerFormEditorInterface *core = FormEditorW::designerEditor();
|
||||
return core->integration()->contextHelpId();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user