diff --git a/src/plugins/texteditor/basetexteditor.cpp b/src/plugins/texteditor/basetexteditor.cpp index 7004816290355c751560906bdb442426a6f6e66b..fabcae87228139eeebe66280c8e6552c20fbbcef 100644 --- a/src/plugins/texteditor/basetexteditor.cpp +++ b/src/plugins/texteditor/basetexteditor.cpp @@ -2764,15 +2764,6 @@ void BaseTextEditor::paintEvent(QPaintEvent *e) d->m_animator->draw(&painter, cursorRect(cursor).topLeft()); } - - if (lineX > 0) { - const QColor bg = palette().base().color(); - QColor col = (bg.value() > 128) ? Qt::black : Qt::white; - col.setAlpha(32); - painter.setPen(QPen(col, 0)); - painter.drawLine(QPointF(lineX, 0), QPointF(lineX, viewport()->height())); - } - if (d->m_overlay && d->m_overlay->isVisible()) d->m_overlay->paint(&painter, e->rect());