summaryrefslogtreecommitdiffstats
path: root/src/widgets/qbuttongroup.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:32 +0900
committerSlávek Banko <slavek.banko@axis.cz>2021-02-01 23:39:38 +0100
commit961eb3f6e276b4a3609328a3076ef790026e9c03 (patch)
treef27de88e666ac3e067e01b15ac60a103eb3c559f /src/widgets/qbuttongroup.cpp
parentb08a6d71ba872e67b75a822fcd44670126975818 (diff)
downloadqt3-961eb3f6e276b4a3609328a3076ef790026e9c03.tar.gz
qt3-961eb3f6e276b4a3609328a3076ef790026e9c03.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/widgets/qbuttongroup.cpp')
-rw-r--r--src/widgets/qbuttongroup.cpp6
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;