Commit f3753e50 authored by Robert Loehning's avatar Robert Loehning Committed by Robert Löhning
Browse files

Removed unread variables



Change-Id: Ifd0bec1762d97a957515931408269a153ae136d2
Reviewed-by: default avatarLeandro T. C. Melo <leandro.melo@nokia.com>
parent f746c746
......@@ -3689,24 +3689,6 @@ void BaseTextEditorWidget::extraAreaPaintEvent(QPaintEvent *e)
painter.save();
painter.setRenderHint(QPainter::Antialiasing, false);
int previousBraceDepth = block.previous().userState();
if (previousBraceDepth >= 0)
previousBraceDepth >>= 8;
else
previousBraceDepth = 0;
int braceDepth = block.userState();
if (!nextBlock.isVisible()) {
QTextBlock lastInvisibleBlock = nextVisibleBlock.previous();
if (!lastInvisibleBlock.isValid())
lastInvisibleBlock = doc->lastBlock();
braceDepth = lastInvisibleBlock.userState();
}
if (braceDepth >= 0)
braceDepth >>= 8;
else
braceDepth = 0;
if (TextBlockUserData *userData = static_cast<TextBlockUserData*>(block.userData())) {
if (d->m_marksVisible) {
int xoffset = 0;
......
Supports Markdown
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