diff options
Diffstat (limited to 'kmplot/kmplot/View.cpp')
-rw-r--r-- | kmplot/kmplot/View.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmplot/kmplot/View.cpp b/kmplot/kmplot/View.cpp index 61045a62..ce872219 100644 --- a/kmplot/kmplot/View.cpp +++ b/kmplot/kmplot/View.cpp @@ -594,7 +594,7 @@ void View::drawPlot() if( m_minmax->isShown() ) m_minmax->updateFunctions(); buffer.fill(backgroundcolor); - draw(TQT_TQPAINTDEVICE(&buffer), 0); + draw(&buffer, 0); TQPainter p; p.begin(this); bitBlt( this, 0, 0, &buffer, 0, 0, width(), height() ); @@ -1801,7 +1801,7 @@ void View::areaUnderGraph( Ufkt *ufkt, char const p_mode, double &dmin, double DC->end(); setFocus(); update(); - draw(TQT_TQPAINTDEVICE(&buffer),0); + draw(&buffer,0); } if ( calculated_area>0) |