diff options
Diffstat (limited to 'src/widgets/qmenubar.cpp')
-rw-r--r-- | src/widgets/qmenubar.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/qmenubar.cpp b/src/widgets/qmenubar.cpp index b9acce9ca..d832bcc40 100644 --- a/src/widgets/qmenubar.cpp +++ b/src/widgets/qmenubar.cpp @@ -785,7 +785,7 @@ void TQMenuBar::hidePopups() bool anyVisible = FALSE; #endif TQMenuItemListIt it(*mitems); - register TQMenuItem *mi; + TQMenuItem *mi; while ( (mi=it.current()) ) { ++it; if ( mi->popup() && mi->popup()->isVisible() ) { @@ -1337,7 +1337,7 @@ void TQMenuBar::keyPressEvent( TQKeyEvent *e ) } if ( dx ) { // highlight next/prev - register int i = actItem; + int i = actItem; int c = mitems->count(); int n = c; while ( n-- ) { @@ -1362,7 +1362,7 @@ void TQMenuBar::keyPressEvent( TQKeyEvent *e ) TQMenuItem* currentSelected = 0; TQMenuItem* firstAfterCurrent = 0; - register TQMenuItem *m; + TQMenuItem *m; int indx = 0; int clashCount = 0; while ( (m=it.current()) ) { @@ -1534,7 +1534,7 @@ void TQMenuBar::setupAccelerators() autoaccel = 0; TQMenuItemListIt it(*mitems); - register TQMenuItem *mi; + TQMenuItem *mi; while ( (mi=it.current()) ) { ++it; if ( !mi->isEnabledAndVisible() ) // ### when we have a good solution for the accel vs. focus widget problem, remove that. That is only a workaround |