forked from qt-creator/qt-creator
Editors: Move id() from editor to document.
Change-Id: Ib81076842ab1c16832224790194b001206404d64 Reviewed-by: hjk <hjk121@nokiamail.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -70,7 +70,7 @@ protected:
|
||||
BaseTextEditor *createEditor()
|
||||
{
|
||||
BaseTextEditor *editor = new BaseTextEditor(this);
|
||||
editor->setId("DescriptionEditor");
|
||||
editor->document()->setId("DiffEditor.DescriptionEditor");
|
||||
return editor;
|
||||
}
|
||||
};
|
||||
@@ -141,7 +141,6 @@ DiffEditor::DiffEditor(DiffEditor *other)
|
||||
|
||||
void DiffEditor::ctor()
|
||||
{
|
||||
setId(Constants::DIFF_EDITOR_ID);
|
||||
QSplitter *splitter = new Core::MiniSplitter(Qt::Vertical);
|
||||
|
||||
m_descriptionWidget = new Internal::DescriptionEditorWidget(splitter);
|
||||
|
||||
Reference in New Issue
Block a user