From aefcf5f8a0471bb2381f59b7287a41baaafd1b5f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 29 Aug 2002 16:32:24 +0000 Subject: [PATCH] remove outdated #ifdef svn path=/trunk/kdebase/kwin/; revision=174483 --- clients/kwmtheme/kwmthemeclient.cpp | 6 ------ 1 file changed, 6 deletions(-) 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 } }