From 520c05ef06ce203ad32470730f68402bc7719157 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 27 Feb 2012 02:13:42 -0600 Subject: Automated update from qt3 --- src/widgets/qmenubar.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/widgets/qmenubar.cpp') diff --git a/src/widgets/qmenubar.cpp b/src/widgets/qmenubar.cpp index d1fde81c2..ed592df6a 100644 --- a/src/widgets/qmenubar.cpp +++ b/src/widgets/qmenubar.cpp @@ -594,7 +594,7 @@ bool TQMenuBar::eventFilter( TQObject *object, TQEvent *event ) waitforalt = 0; } // ### ! block all accelerator events when the menu bar is active - if ( qApp && qApp->focusWidget() == this ) { + if ( tqApp && tqApp->focusWidget() == this ) { return TRUE; } @@ -1504,13 +1504,13 @@ void TQMenuBar::setAltMode( bool enable ) actItemDown = FALSE; if ( enable ) { if ( !TQMenuData::d->aWidget ) - TQMenuData::d->aWidget = qApp->focusWidget(); + TQMenuData::d->aWidget = tqApp->focusWidget(); setFocus(); updateItem( idAt( actItem ) ); } else { // set the focus back to the previous widget if // we still have the focus. - if ( qApp->focusWidget() == this ) { + if ( tqApp->focusWidget() == this ) { if ( TQMenuData::d->aWidget ) TQMenuData::d->aWidget->setFocus(); else -- cgit v1.2.1