summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficeui')
-rw-r--r--lib/kofficeui/KoTabBar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kofficeui/KoTabBar.cpp b/lib/kofficeui/KoTabBar.cpp
index 319f2baf..4e7c3931 100644
--- a/lib/kofficeui/KoTabBar.cpp
+++ b/lib/kofficeui/KoTabBar.cpp
@@ -660,7 +660,7 @@ void KoTabBar::paintEvent( TQPaintEvent* )
TQPainter painter;
TQPixmap pm( size() );
pm.fill( colorGroup().background() );
- painter.begin( TQT_TQPAINTDEVICE(&pm), this );
+ painter.begin( &pm, this );
painter.setPen( colorGroup().dark() );
painter.drawLine( 0, 0, width(), 0 );