Remove obsolete #ifdefs

svn path=/trunk/kdebase/kwin/; revision=173635
This commit is contained in:
John Firebaugh 2002-08-24 22:00:57 +00:00
parent 27998b71ac
commit 6c612ea8de

View file

@ -216,15 +216,10 @@ void TabBox::paintEvent( QPaintEvent* )
{
{
QPainter p( this );
#if QT_VERSION < 300
style().drawPanel( &p, 0, 0, width(), height(), colorGroup(), FALSE );
style().drawPanel( &p, 4, 4, width()-8, height()-8, colorGroup(), TRUE );
#else
style().drawPrimitive( QStyle::PE_Panel, &p, QRect( 0, 0, width(), height() ),
colorGroup(), QStyle::Style_Default );
style().drawPrimitive( QStyle::PE_Panel, &p, QRect( 4, 4, width()-8, height()-8 ),
colorGroup(), QStyle::Style_Sunken );
#endif
}
paintContents();
}