diff --git a/clients/kwmtheme/kwmthemeclient.cpp b/clients/kwmtheme/kwmthemeclient.cpp index 62a152f8b0..1838f99ea5 100644 --- a/clients/kwmtheme/kwmthemeclient.cpp +++ b/clients/kwmtheme/kwmthemeclient.cpp @@ -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 } }