Commit b904780f authored by Jens Bache-Wiig's avatar Jens Bache-Wiig
Browse files

Fixes: Fix painting of tabrect with -reverse

Still not perfect due to inverted gradients, but much better.
parent 17722a6c
......@@ -323,6 +323,7 @@ void FancyTabWidget::paintEvent(QPaintEvent *event)
QPainter p(this);
QRect rect = m_selectionWidget->rect().adjusted(0, 0, 1, 0);
rect = style()->visualRect(layoutDirection(), geometry(), rect);
StyleHelper::verticalGradient(&p, rect, rect);
p.drawLine(rect.topRight(), rect.bottomRight());
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