summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppcodegen_test.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2013-12-13 09:49:29 +0100
committerEike Ziller <eike.ziller@digia.com>2014-01-07 11:59:34 +0100
commitf161f1a25d52ffd051d11135b6bdba593547b66e (patch)
tree22cf1adf4de548673d7604ae9ddcda0732fc902b /src/plugins/cpptools/cppcodegen_test.cpp
parentc233ad0b7895a9c546150e168522546f0fc92612 (diff)
downloadqt-creator-f161f1a25d52ffd051d11135b6bdba593547b66e.tar.gz
Move some BaseTextDocument setup from BaseTextEditorWidget
There is a 1-to-1 relationship between BaseTextDocument and QTextDocument, so it doesn't make sense to do the setup between them in the editor widget. Move creation of BaseTextDocumentLayout and setting up of 'changed' signal to BaseTextDocument. This also avoids sending multiple 'changed' signals for a single QTextDocument::modificationChanged signal in case of splits. Change-Id: Iaab4fea594c5b50f502fd41c88948fac132de9f1 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cppcodegen_test.cpp')
0 files changed, 0 insertions, 0 deletions