made 'on all desktops' button appear 'pressed' when checked, to be more visible
svn path=/trunk/KDE/kdebase/workspace/; revision=1034009
This commit is contained in:
parent
fe3ff7b483
commit
a528f0e7ac
1 changed files with 2 additions and 1 deletions
|
@ -236,7 +236,8 @@ namespace Oxygen
|
|||
}
|
||||
|
||||
// draw button shape
|
||||
painter.drawPixmap(0, 0, helper_.windecoButton(bt, status_ == Oxygen::Pressed, (21.0*client_.configuration().buttonSize())/22.0 ) );
|
||||
bool pressed( (status_ == Oxygen::Pressed) || ( type_ == ButtonSticky && isChecked() ) );
|
||||
painter.drawPixmap(0, 0, helper_.windecoButton(bt, pressed, (21.0*client_.configuration().buttonSize())/22.0 ) );
|
||||
|
||||
// draw button icon
|
||||
painter.setRenderHints(QPainter::Antialiasing);
|
||||
|
|
Loading…
Reference in a new issue