diff options
author | Michele Calgaro <[email protected]> | 2020-01-30 20:17:32 +0900 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2021-02-01 23:39:38 +0100 |
commit | 961eb3f6e276b4a3609328a3076ef790026e9c03 (patch) | |
tree | f27de88e666ac3e067e01b15ac60a103eb3c559f /src/kernel/qwidget.cpp | |
parent | b08a6d71ba872e67b75a822fcd44670126975818 (diff) | |
download | qt3-961eb3f6e276b4a3609328a3076ef790026e9c03.tar.gz qt3-961eb3f6e276b4a3609328a3076ef790026e9c03.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/kernel/qwidget.cpp')
-rw-r--r-- | src/kernel/qwidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/qwidget.cpp b/src/kernel/qwidget.cpp index 461c7f3..e7d27a9 100644 --- a/src/kernel/qwidget.cpp +++ b/src/kernel/qwidget.cpp @@ -1044,7 +1044,7 @@ void QWidget::destroyMapper() QWidgetIntDictIt it( *((QWidgetIntDict*)mapper) ); QWidgetMapper * myMapper = mapper; mapper = 0; - register QWidget *w; + QWidget *w; while ( (w=it.current()) ) { // remove parents widgets ++it; if ( !w->parentObj ) // widget is a parent @@ -4172,7 +4172,7 @@ void QWidget::showChildren( bool spontaneous ) { if ( children() ) { QObjectListIt it(*children()); - register QObject *object; + QObject *object; QWidget *widget; while ( it ) { object = it.current(); @@ -4197,7 +4197,7 @@ void QWidget::hideChildren( bool spontaneous ) { if ( children() ) { QObjectListIt it(*children()); - register QObject *object; + QObject *object; QWidget *widget; while ( it ) { object = it.current(); |