forked from qt-creator/qt-creator
QmlDesigner.: Using editorWidget instead of widget
Change-Id: I0c8dc16ceeabc608334027abf05ed3ddff5a9a36 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user