diff options
author | Eike Ziller <eike.ziller@digia.com> | 2014-01-09 18:04:45 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@digia.com> | 2014-01-10 14:38:36 +0100 |
commit | 2251958375321463995990fc59a88cbc2235c532 (patch) | |
tree | 7643ae380141c57f7f6d46825a3b7507a5163e79 /src/plugins/clangcodemodel/unit.cpp | |
parent | 9ce8bcd114df439f5757595f17ff094d8d3c5b7e (diff) | |
download | qt-creator-2251958375321463995990fc59a88cbc2235c532.tar.gz |
TextEditors: Avoid changing document after construction.
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: Nikolai Kosjar <nikolai.kosjar@digia.com>
Diffstat (limited to 'src/plugins/clangcodemodel/unit.cpp')
0 files changed, 0 insertions, 0 deletions