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-01 23:39:38 +0100 |
commit | 961eb3f6e276b4a3609328a3076ef790026e9c03 (patch) | |
tree | f27de88e666ac3e067e01b15ac60a103eb3c559f /src/kernel/qaccel.cpp | |
parent | b08a6d71ba872e67b75a822fcd44670126975818 (diff) | |
download | qt3-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/kernel/qaccel.cpp')
-rw-r--r-- | src/kernel/qaccel.cpp | 4 |
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; |