remove outdated #ifdef

svn path=/trunk/kdebase/kwin/; revision=174483
This commit is contained in:
Dirk Mueller 2002-08-29 16:32:24 +00:00
parent f374dba2f2
commit aefcf5f8a0

View file

@ -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
}
}