remove outdated #ifdef
svn path=/trunk/kdebase/kwin/; revision=174483
This commit is contained in:
parent
f374dba2f2
commit
aefcf5f8a0
1 changed files with 0 additions and 6 deletions
|
@ -232,15 +232,9 @@ void MyButton::drawButtonLabel(QPainter *p)
|
|||
// some visual notification of button presses. i.e. for MGBriezh
|
||||
int offset = (isDown() && ((pixmap()->width() >= width()) ||
|
||||
(pixmap()->height() >= height()))) ? 1 : 0;
|
||||
#if QT_VERSION < 300
|
||||
style().drawItem(p, offset, offset, width(), height(),
|
||||
AlignCenter, colorGroup(),
|
||||
true, pixmap(), QString::null);
|
||||
#else
|
||||
style().drawItem(p, QRect( offset, offset, width(), height() ),
|
||||
AlignCenter, colorGroup(),
|
||||
true, pixmap(), QString::null);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue