summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppcodeformatter.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2013-07-16 17:10:16 +0200
committerEike Ziller <eike.ziller@digia.com>2013-07-17 09:05:41 +0200
commit7808266fca01b45da4a9e092f81c85e9d877b68d (patch)
treedde352fb42dcf3cee5f2caabf5a030209631b6d8 /src/plugins/cpptools/cppcodeformatter.cpp
parentfade19a9bfb89b791d9a64dd3e43441a5861e40c (diff)
downloadqt-creator-7808266fca01b45da4a9e092f81c85e9d877b68d.tar.gz
TextEditors: Remove useless duplicated (set)textCodec methods
They are duplicated from TextDocument::(set)codec. The default implementation of the duplicated methods was just delegating to the text document. The override of setTextCodec in QmlJsEditor was useless, since it was only called from EditorConfiguration::configureEditor with the ITextEditor::TextCodecFromProjectSetting flag anyhow, which made the overridden method in QmlJsEditor be the same as the fallback. Aside from that, the duplicated methods wouldn't have belonged to the *editor* anyhow, but to the document. Change-Id: Ib43c28210b6bf88726159d751a4905a1d062f80e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cppcodeformatter.cpp')
0 files changed, 0 insertions, 0 deletions