diff options
Diffstat (limited to 'kig/modes/dragrectmode.cpp')
-rw-r--r-- | kig/modes/dragrectmode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kig/modes/dragrectmode.cpp b/kig/modes/dragrectmode.cpp index 29b00886..1bb39cae 100644 --- a/kig/modes/dragrectmode.cpp +++ b/kig/modes/dragrectmode.cpp @@ -48,7 +48,7 @@ void DragRectMode::moved( const TQPoint& p, KigWidget& w ) std::vector<TQRect> overlay; if ( mstartselected ) { - KigPainter pt( w.screenInfo(), TQT_TQPAINTDEVICE(&w.curPix), mdoc.document() ); + KigPainter pt( w.screenInfo(), &w.curPix, mdoc.document() ); pt.drawFilledRect( TQRect( p, mstart ) ); overlay = pt.overlay(); }; |