• Eike Ziller's avatar
    TextEditors: Avoid changing document after construction. · 22519583
    Eike Ziller authored
    Also when duplicating editors, we don't want to change the document
    after construction. Actually at some places (e.g. CppEditorSupport
    creation) we don't handle document changes correctly, and we are only
    lucky that things still (more or less?) work. Get rid of
    BaseTextEditorWidget::duplicateFrom and use copy-constructor style instead.
    Change-Id: I7f688b7fcc51d1bb5e222bb333f0d28479b597a6
    Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
profileeditor.h 3.04 KB