Remove accidentally added check.

This commit is contained in:
John Preston 2022-10-04 10:10:49 +04:00
parent eafd7dc818
commit 04e6428fec

View file

@ -185,7 +185,6 @@ void Renderer::draw(QPainter &p, const PaintContext &context) {
? -1 ? -1
: (context.clip.y() + context.clip.height()); : (context.clip.y() + context.clip.height());
if (const auto lines = context.elisionLines) { if (const auto lines = context.elisionLines) {
if (context.clip.isNull())
if (_yTo < 0 || (_y + (lines - 1) * _t->_st->font->height) < _yTo) { if (_yTo < 0 || (_y + (lines - 1) * _t->_st->font->height) < _yTo) {
_yTo = _y + (lines * _t->_st->font->height); _yTo = _y + (lines * _t->_st->font->height);
_elideLast = true; _elideLast = true;