diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:32 +0900 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2021-02-02 00:33:10 +0100 |
| commit | 7e66c403623bdb20b01ff05ebc5e2dfc30f15b3e (patch) | |
| tree | 59a3ce045c4768ecdc5ea99da560934619fbb0a9 /src/widgets/qbuttongroup.cpp | |
| parent | d8d67a842b11ba1b0c2ce83d7168670941499dbf (diff) | |
| download | qt3-7e66c403623bdb20b01ff05ebc5e2dfc30f15b3e.tar.gz qt3-7e66c403623bdb20b01ff05ebc5e2dfc30f15b3e.zip | |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 961eb3f6e276b4a3609328a3076ef790026e9c03)
Diffstat (limited to 'src/widgets/qbuttongroup.cpp')
| -rw-r--r-- | src/widgets/qbuttongroup.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/qbuttongroup.cpp b/src/widgets/qbuttongroup.cpp index 8737804..c2d7e2e 100644 --- a/src/widgets/qbuttongroup.cpp +++ b/src/widgets/qbuttongroup.cpp @@ -371,7 +371,7 @@ void QButtonGroup::buttonPressed() // introduce a QButtonListIt if calling anything int id = -1; QButton *bt = (QButton *)sender(); // object that sent the signal - for ( register QButtonItem *i=buttons->first(); i; i=buttons->next() ) + for ( QButtonItem *i=buttons->first(); i; i=buttons->next() ) if ( bt == i->button ) { // button was clicked id = i->id; break; @@ -391,7 +391,7 @@ void QButtonGroup::buttonReleased() // introduce a QButtonListIt if calling anything int id = -1; QButton *bt = (QButton *)sender(); // object that sent the signal - for ( register QButtonItem *i=buttons->first(); i; i=buttons->next() ) + for ( QButtonItem *i=buttons->first(); i; i=buttons->next() ) if ( bt == i->button ) { // button was clicked id = i->id; break; @@ -414,7 +414,7 @@ void QButtonGroup::buttonClicked() #if defined(QT_CHECK_NULL) Q_ASSERT( bt ); #endif - for ( register QButtonItem *i=buttons->first(); i; i=buttons->next() ) { + for ( QButtonItem *i=buttons->first(); i; i=buttons->next() ) { if ( bt == i->button ) { // button was clicked id = i->id; break; |
