diff options
Diffstat (limited to 'cervisia')
-rw-r--r-- | cervisia/qttableview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cervisia/qttableview.cpp b/cervisia/qttableview.cpp index 43c82cf2..02f8aea1 100644 --- a/cervisia/qttableview.cpp +++ b/cervisia/qttableview.cpp @@ -1390,7 +1390,7 @@ void QtTableView::paintEvent( TQPaintEvent *e ) TQRect r = viewR; r.setLeft( xPos ); r.setBottom( yPos<maxY?yPos:maxY ); - if ( inherits( TQMULTILINEEDIT_OBJECT_NAME_STRING ) ) + if ( inherits( "TQMultiLineEdit" ) ) paint.fillRect( r.intersect( updateR ), g.base() ); else paint.eraseRect( r.intersect( updateR ) ); @@ -1398,7 +1398,7 @@ void QtTableView::paintEvent( TQPaintEvent *e ) if ( yPos <= maxY ) { TQRect r = viewR; r.setTop( yPos ); - if ( inherits( TQMULTILINEEDIT_OBJECT_NAME_STRING ) ) + if ( inherits( "TQMultiLineEdit" ) ) paint.fillRect( r.intersect( updateR ), g.base() ); else paint.eraseRect( r.intersect( updateR ) ); |