summaryrefslogtreecommitdiffstats
path: root/src/kernel/qaccel.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-01-30 20:17:32 +0900
committerSlávek Banko <[email protected]>2021-02-02 00:33:10 +0100
commit7e66c403623bdb20b01ff05ebc5e2dfc30f15b3e (patch)
tree59a3ce045c4768ecdc5ea99da560934619fbb0a9 /src/kernel/qaccel.cpp
parentd8d67a842b11ba1b0c2ce83d7168670941499dbf (diff)
downloadqt3-7e66c403623bdb20b01ff05ebc5e2dfc30f15b3e.tar.gz
qt3-7e66c403623bdb20b01ff05ebc5e2dfc30f15b3e.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 961eb3f6e276b4a3609328a3076ef790026e9c03)
Diffstat (limited to 'src/kernel/qaccel.cpp')
-rw-r--r--src/kernel/qaccel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/qaccel.cpp b/src/kernel/qaccel.cpp
index 53814dc..fc582f7 100644
--- a/src/kernel/qaccel.cpp
+++ b/src/kernel/qaccel.cpp
@@ -549,7 +549,7 @@ QAccelPrivate::~QAccelPrivate()
static QAccelItem *find_id( QAccelList &list, int id )
{
- register QAccelItem *item = list.first();
+ QAccelItem *item = list.first();
while ( item && item->id != id )
item = list.next();
return item;
@@ -557,7 +557,7 @@ static QAccelItem *find_id( QAccelList &list, int id )
static QAccelItem *find_key( QAccelList &list, const QKeySequence &key )
{
- register QAccelItem *item = list.first();
+ QAccelItem *item = list.first();
while ( item && !( item->key == key ) )
item = list.next();
return item;