Remove accidentally added check.
This commit is contained in:
parent
eafd7dc818
commit
04e6428fec
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue