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 23:58:41 +0900 |
commit | ce9614515fa863c4a66870f5288e417eceaf9106 (patch) | |
tree | 46822e581173d96db101d0c8521fa1730cd09602 /src/kernel/qapplication_x11.cpp | |
parent | cd2dc5026e152d6cf57895fe4f41cabdf2bb3eca (diff) | |
download | tqt-ce9614515fa863c4a66870f5288e417eceaf9106.tar.gz tqt-ce9614515fa863c4a66870f5288e417eceaf9106.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 99e56ba8db70324cc5c7ab416a3b48171613bd59)
Diffstat (limited to 'src/kernel/qapplication_x11.cpp')
-rw-r--r-- | src/kernel/qapplication_x11.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/qapplication_x11.cpp b/src/kernel/qapplication_x11.cpp index 2ceaa4ef5..457c529cd 100644 --- a/src/kernel/qapplication_x11.cpp +++ b/src/kernel/qapplication_x11.cpp @@ -2897,7 +2897,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 ); @@ -2925,7 +2925,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 ); @@ -2989,7 +2989,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) ) { |