diff --git a/src/knemod/signalplotter.cpp b/src/knemod/signalplotter.cpp index 7176808..067b4ae 100644 --- a/src/knemod/signalplotter.cpp +++ b/src/knemod/signalplotter.cpp @@ -429,7 +429,7 @@ void SignalPlotter::paintEvent( TQPaintEvent* ) TQPixmap pm( w, h ); TQPainter p; - p.begin( TQT_TQPAINTDEVICE(&pm), this ); + p.begin( static_cast(&pm), this ); pm.fill( mBackgroundColor ); /* Draw white line along the bottom and the right side of the