Commit 289dbab2 authored by Robert Loehning's avatar Robert Loehning

TextEditor: Initialize PaintEventData::rightMargin

Change-Id: I64690e594cf20f073ba348f5896a8cf9da5260b8
Reviewed-by: David Schulz's avatarDavid Schulz <>
parent b10f8484
......@@ -387,7 +387,7 @@ struct PaintEventData
QPointF offset;
const QRect viewportRect;
const QRect eventRect;
qreal rightMargin;
qreal rightMargin = -1;
const QTextDocument *doc;
const TextDocumentLayout *documentLayout;
const int documentWidth;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment