If using QGtkStyle, then draw background of unselected tabs - to fix issues with a 1 pixel line
This commit is contained in:
@@ -153,6 +153,10 @@ void FancyTabProxyStyle::drawControl(
|
||||
|
||||
const QRect draw_rect(QPoint(0, 0), m.mapRect(rect).size());
|
||||
|
||||
if (!selected && GtkStyle::isActive()) {
|
||||
p->fillRect(option->rect, option->palette.background());
|
||||
}
|
||||
|
||||
p->save();
|
||||
p->setTransform(m);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user