diff options
Diffstat (limited to 'karbon/widgets/vgradientwidget.cpp')
-rw-r--r-- | karbon/widgets/vgradientwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/karbon/widgets/vgradientwidget.cpp b/karbon/widgets/vgradientwidget.cpp index f76f1fed..0bc98b8e 100644 --- a/karbon/widgets/vgradientwidget.cpp +++ b/karbon/widgets/vgradientwidget.cpp @@ -96,7 +96,7 @@ void VGradientWidget::paintEvent( TQPaintEvent* ) int gh = h - ph; // gradient area height TQPixmap pixmap( width(), height() ); - VKoPainter gp( TQT_TQPAINTDEVICE(&pixmap), width(), height() ); + VKoPainter gp( &pixmap, width(), height() ); gp.setRasterOp( TQt::XorROP ); VGradient gradient( *m_gradient ); gradient.setType( VGradient::linear ); |