From 6c612ea8de0204526cc4986b0af82b5d0f948fbc Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Sat, 24 Aug 2002 22:00:57 +0000 Subject: [PATCH] Remove obsolete #ifdefs svn path=/trunk/kdebase/kwin/; revision=173635 --- tabbox.cpp | 5 ----- 1 file changed, 5 deletions(-) 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(); }