Make the panel action sunken when panel is open

This commit is contained in:
Jens Bache-Wiig
2010-02-18 17:36:58 +01:00
parent 41885a192d
commit 1ea114b414
3 changed files with 4 additions and 2 deletions

View File

@@ -106,7 +106,7 @@ void FancyToolButton::paintEvent(QPaintEvent *event)
painter.restore();
} else
#endif
#endif
if (isDown() || isChecked()) {
painter.save();
QLinearGradient grad(rect().topLeft(), rect().topRight());