diff options
Diffstat (limited to 'cervisia/qttableview.cpp')
-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 7e877ef8..d62557a9 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" ) ) + if ( inherits( TQMULTILINEEDIT_OBJECT_NAME_STRING ) ) 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" ) ) + if ( inherits( TQMULTILINEEDIT_OBJECT_NAME_STRING ) ) paint.fillRect( r.intersect( updateR ), g.base() ); else paint.eraseRect( r.intersect( updateR ) ); |