Remove obsolete #ifdefs

svn path=/trunk/kdebase/kwin/; revision=173635
icc-effect-5.14.5
John Firebaugh 2002-08-24 22:00:57 +00:00
parent 27998b71ac
commit 6c612ea8de
1 changed files with 0 additions and 5 deletions

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();
}