summaryrefslogtreecommitdiffstats
path: root/src/kernel/qwidget_x11.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-01-30 20:17:32 +0900
committerMichele Calgaro <[email protected]>2020-01-30 20:17:32 +0900
commit99e56ba8db70324cc5c7ab416a3b48171613bd59 (patch)
tree52fe52817fe45a81a7e03254b614b67587d83e37 /src/kernel/qwidget_x11.cpp
parent630dcedfb398b350522742f0ab4d1255ac84da85 (diff)
downloadtqt3-99e56ba8db70324cc5c7ab416a3b48171613bd59.tar.gz
tqt3-99e56ba8db70324cc5c7ab416a3b48171613bd59.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/kernel/qwidget_x11.cpp')
-rw-r--r--src/kernel/qwidget_x11.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/qwidget_x11.cpp b/src/kernel/qwidget_x11.cpp
index 71268a6ab..f842595d5 100644
--- a/src/kernel/qwidget_x11.cpp
+++ b/src/kernel/qwidget_x11.cpp
@@ -794,7 +794,7 @@ void TQWidget::destroy( bool destroyWindow, bool destroySubWindows )
clearWState( WState_Created );
if ( children() ) {
TQObjectListIt it(*children());
- register TQObject *obj;
+ TQObject *obj;
while ( (obj=it.current()) ) { // destroy all widget children
++it;
if ( obj->isWidgetType() )
@@ -2476,7 +2476,7 @@ void TQWidget::scroll( int dx, int dy, const TQRect& r )
if ( !valid_rect && children() ) { // scroll children
TQPoint pd( dx, dy );
TQObjectListIt it(*children());
- register TQObject *object;
+ TQObject *object;
while ( it ) { // move all children
object = it.current();
if ( object->isWidgetType() ) {