summaryrefslogtreecommitdiffstats
path: root/src/kernel/qapplication_x11.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:32 +0900
commit99e56ba8db70324cc5c7ab416a3b48171613bd59 (patch)
tree52fe52817fe45a81a7e03254b614b67587d83e37 /src/kernel/qapplication_x11.cpp
parent630dcedfb398b350522742f0ab4d1255ac84da85 (diff)
downloadtqt3-99e56ba8db70324cc5c7ab416a3b48171613bd59.tar.gz
tqt3-99e56ba8db70324cc5c7ab416a3b48171613bd59.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kernel/qapplication_x11.cpp')
-rw-r--r--src/kernel/qapplication_x11.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/qapplication_x11.cpp b/src/kernel/qapplication_x11.cpp
index 401230f7..c53ef91a 100644
--- a/src/kernel/qapplication_x11.cpp
+++ b/src/kernel/qapplication_x11.cpp
@@ -2894,7 +2894,7 @@ void TQApplication::setOverrideCursor( const TQCursor &cursor, bool replace )
cursorStack->append( app_cursor );
TQWidgetIntDictIt it( *((TQWidgetIntDict*)TQWidget::mapper) );
- register TQWidget *w;
+ TQWidget *w;
while ( (w=it.current()) ) { // for all widgets that have
if ( w->testWState( WState_OwnCursor ) )
tqt_x11_enforce_cursor( w );
@@ -2922,7 +2922,7 @@ void TQApplication::restoreOverrideCursor()
app_cursor = cursorStack->last();
if ( TQWidget::mapper != 0 && !closingDown() ) {
TQWidgetIntDictIt it( *((TQWidgetIntDict*)TQWidget::mapper) );
- register TQWidget *w;
+ TQWidget *w;
while ( (w=it.current()) ) { // set back to original cursors
if ( w->testWState( WState_OwnCursor ) )
tqt_x11_enforce_cursor( w );
@@ -2986,7 +2986,7 @@ void TQApplication::setGlobalMouseTracking( bool enable )
}
if ( tellAllWidgets ) {
TQWidgetIntDictIt it( *((TQWidgetIntDict*)TQWidget::mapper) );
- register TQWidget *w;
+ TQWidget *w;
while ( (w=it.current()) ) {
if ( app_tracking > 0 ) { // switch on
if ( !w->testWState(WState_MouseTracking) ) {