Remove obsolete #ifdefs
svn path=/trunk/kdebase/kwin/; revision=173635
This commit is contained in:
parent
27998b71ac
commit
6c612ea8de
1 changed files with 0 additions and 5 deletions
|
@ -216,15 +216,10 @@ void TabBox::paintEvent( QPaintEvent* )
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
QPainter p( this );
|
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() ),
|
style().drawPrimitive( QStyle::PE_Panel, &p, QRect( 0, 0, width(), height() ),
|
||||||
colorGroup(), QStyle::Style_Default );
|
colorGroup(), QStyle::Style_Default );
|
||||||
style().drawPrimitive( QStyle::PE_Panel, &p, QRect( 4, 4, width()-8, height()-8 ),
|
style().drawPrimitive( QStyle::PE_Panel, &p, QRect( 4, 4, width()-8, height()-8 ),
|
||||||
colorGroup(), QStyle::Style_Sunken );
|
colorGroup(), QStyle::Style_Sunken );
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
paintContents();
|
paintContents();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue