diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:32 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:32 +0900 |
| commit | 99e56ba8db70324cc5c7ab416a3b48171613bd59 (patch) | |
| tree | 52fe52817fe45a81a7e03254b614b67587d83e37 /src/widgets/qmenubar.cpp | |
| parent | 630dcedfb398b350522742f0ab4d1255ac84da85 (diff) | |
| download | tqt-99e56ba8db70324cc5c7ab416a3b48171613bd59.tar.gz tqt-99e56ba8db70324cc5c7ab416a3b48171613bd59.zip | |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 |
