summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/basetextdocumentlayout.cpp
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-03-23 10:45:04 +0100
committerhjk <qtc-committer@nokia.com>2011-03-23 10:49:00 +0100
commitf67e9a54c99b134e86068f7c385ea79fbeeb121b (patch)
treeb43b7cf0aa43835a6e11e4e615a3ddd22707a3aa /src/plugins/texteditor/basetextdocumentlayout.cpp
parent1e8e9612c3ea1bbe9d919b654e32c4668bd94375 (diff)
downloadqt-creator-f67e9a54c99b134e86068f7c385ea79fbeeb121b.tar.gz
Adjust mark area width to mark width.
Patch by Kevin Funk
Diffstat (limited to 'src/plugins/texteditor/basetextdocumentlayout.cpp')
-rw-r--r--src/plugins/texteditor/basetextdocumentlayout.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/texteditor/basetextdocumentlayout.cpp b/src/plugins/texteditor/basetextdocumentlayout.cpp
index a7540edb36..35ea068cfd 100644
--- a/src/plugins/texteditor/basetextdocumentlayout.cpp
+++ b/src/plugins/texteditor/basetextdocumentlayout.cpp
@@ -393,6 +393,7 @@ BaseTextDocumentLayout::BaseTextDocumentLayout(QTextDocument *doc)
:QPlainTextDocumentLayout(doc) {
lastSaveRevision = 0;
hasMarks = 0;
+ maxMarkWidthFactor = 1.0;
m_requiredWidth = 0;
}