From 1d3292e3aa3ca66dcac48a219b77a2499bf1ab79 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Wed, 4 Jan 2017 13:16:43 +0100 Subject: [PATCH] QmlDesigner.: Using editorWidget instead of widget Change-Id: I0c8dc16ceeabc608334027abf05ed3ddff5a9a36 Reviewed-by: Tim Jenssen --- .../qmldesigner/components/texteditor/texteditorwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmldesigner/components/texteditor/texteditorwidget.cpp b/src/plugins/qmldesigner/components/texteditor/texteditorwidget.cpp index 750d7da6ed6..9b5dc32ff8e 100644 --- a/src/plugins/qmldesigner/components/texteditor/texteditorwidget.cpp +++ b/src/plugins/qmldesigner/components/texteditor/texteditorwidget.cpp @@ -47,7 +47,7 @@ TextEditorWidget::TextEditorWidget(TextEditorView *textEditorView) : QWidget() void TextEditorWidget::setTextEditor(TextEditor::BaseTextEditor *textEditor) { m_textEditor.reset(textEditor); - layout()->addWidget(textEditor->widget()); + layout()->addWidget(textEditor->editorWidget()); } QString TextEditorWidget::contextHelpId() const