summaryrefslogtreecommitdiffstats
path: root/src/kernel/qwidget_x11.cpp
diff options
context:
space:
mode:
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() ) {