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:42:53 +0100
commit92036ede2d4488a67bfff21821db0507430fcf43 (patch)
tree3c55f8101dda18e4e0337db8fa4926f6478098b7 /src/widgets/qbuttongroup.cpp
parent0f0b7ff115ae07da28e438ce92022e48c26e9289 (diff)
downloadqt3-92036ede2d4488a67bfff21821db0507430fcf43.tar.gz
qt3-92036ede2d4488a67bfff21821db0507430fcf43.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.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;