diff --git a/tabbox.cpp b/tabbox.cpp index 0ac5bcedb0..c4e6c6b177 100644 --- a/tabbox.cpp +++ b/tabbox.cpp @@ -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(); }