summaryrefslogtreecommitdiff
path: root/src/plugins/qnx
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-07-30 15:10:56 +0200
committerhjk <hjk121@nokiamail.com>2014-07-30 16:21:43 +0200
commit6a52868cddb30e25788de317575f6d4dd29f8f9d (patch)
tree35f4d198a2be25f7f73bd0a6f62021eeb377bca5 /src/plugins/qnx
parent1924fdb90f8851bae4ba8d0648603dd53f5d64ae (diff)
downloadqt-creator-6a52868cddb30e25788de317575f6d4dd29f8f9d.tar.gz
TextEditor: Update tab settings for all tab changes
Not just for selected documents. This also removes the need for the separate setupAsPlainTextDocument function. Change-Id: I51a04eebbad37a7598068ce6e157a53c1519464f Reviewed-by: Christian Stenger <christian.stenger@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/qnx')
-rw-r--r--src/plugins/qnx/bardescriptoreditorwidget.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/qnx/bardescriptoreditorwidget.cpp b/src/plugins/qnx/bardescriptoreditorwidget.cpp
index 2692f297f6..f1edfdfc57 100644
--- a/src/plugins/qnx/bardescriptoreditorwidget.cpp
+++ b/src/plugins/qnx/bardescriptoreditorwidget.cpp
@@ -169,7 +169,6 @@ void BarDescriptorEditorWidget::initAssetsPage()
void BarDescriptorEditorWidget::initSourcePage()
{
auto doc = new TextEditor::BaseTextDocument;
- doc->setupAsPlainTextDocument();
doc->setId(Core::Constants::K_DEFAULT_TEXT_EDITOR_ID); // FIXME: This looks odd.
doc->setIndenter(new TextEditor::NormalIndenter);