diff options
Diffstat (limited to 'src/table/qtable.cpp')
-rw-r--r-- | src/table/qtable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/table/qtable.cpp b/src/table/qtable.cpp index b9926f3fa..0a1d9c62f 100644 --- a/src/table/qtable.cpp +++ b/src/table/qtable.cpp @@ -2781,7 +2781,7 @@ void TQTable::drawContents( TQPainter *p, int cx, int cy, int cw, int ch ) } drawActiveSelection = hasFocus() || viewport()->hasFocus() || d->inMenuMode - || is_child_of( qApp->focusWidget(), viewport() ) + || is_child_of( tqApp->focusWidget(), viewport() ) || !style().styleHint( TQStyle::SH_ItemView_ChangeHighlightOnFocus, this ); if ( rowlast == -1 ) rowlast = numRows() - 1; @@ -4315,7 +4315,7 @@ void TQTable::focusOutEvent( TQFocusEvent* ) if (style().styleHint( TQStyle::SH_ItemView_ChangeHighlightOnFocus, this )) { d->inMenuMode = TQFocusEvent::reason() == TQFocusEvent::Popup || - (qApp->focusWidget() && qApp->focusWidget()->inherits("TQMenuBar")); + (tqApp->focusWidget() && tqApp->focusWidget()->inherits("TQMenuBar")); if ( !d->inMenuMode ) repaintSelections(); } |