summaryrefslogtreecommitdiffstats
path: root/kig/modes/popup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kig/modes/popup.cpp')
-rw-r--r--kig/modes/popup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kig/modes/popup.cpp b/kig/modes/popup.cpp
index c11df7ae..a9c74915 100644
--- a/kig/modes/popup.cpp
+++ b/kig/modes/popup.cpp
@@ -470,7 +470,7 @@ void BuiltinObjectActionsProvider::fillUpMenu( NormalModePopupObjects& popup, in
TQPixmap p( 20, 20 );
p.fill( popup.eraseColor() );
ScreenInfo si( Rect( -1, -1, 2, 2 ), p.rect() );
- KigPainter ptr( si, TQT_TQPAINTDEVICE(&p), popup.part().document(), false );
+ KigPainter ptr( si, &p, popup.part().document(), false );
PointImp pt( Coordinate( 0, 0 ) );
ObjectDrawer d( color, -1, true, TQt::SolidLine, i );
d.draw( pt, ptr, false );
@@ -484,7 +484,7 @@ void BuiltinObjectActionsProvider::fillUpMenu( NormalModePopupObjects& popup, in
TQPixmap p( 50, 20 );
p.fill( popup.eraseColor() );
ScreenInfo si( Rect( -2.5, -1, 5, 2 ), p.rect() );
- KigPainter ptr( si, TQT_TQPAINTDEVICE(&p), popup.part().document(), false );
+ KigPainter ptr( si, &p, popup.part().document(), false );
LineImp line( Coordinate( -1, 0 ), Coordinate( 1, 0 ) );
TQt::PenStyle ps = penstyles[i];
ObjectDrawer d( color, -1, true, ps, 1 );