summaryrefslogtreecommitdiffstats
path: root/src/widgets/qmenubar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/qmenubar.cpp')
-rw-r--r--src/widgets/qmenubar.cpp6
1 files changed, 3 insertions, 3 deletions
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