summaryrefslogtreecommitdiffstats
path: root/src/widgets/qlcdnumber.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-01-30 20:17:32 +0900
committerMichele Calgaro <[email protected]>2020-01-30 23:58:41 +0900
commitce9614515fa863c4a66870f5288e417eceaf9106 (patch)
tree46822e581173d96db101d0c8521fa1730cd09602 /src/widgets/qlcdnumber.cpp
parentcd2dc5026e152d6cf57895fe4f41cabdf2bb3eca (diff)
downloadtqt3-ce9614515fa863c4a66870f5288e417eceaf9106.tar.gz
tqt3-ce9614515fa863c4a66870f5288e417eceaf9106.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 99e56ba8db70324cc5c7ab416a3b48171613bd59)
Diffstat (limited to 'src/widgets/qlcdnumber.cpp')
-rw-r--r--src/widgets/qlcdnumber.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/qlcdnumber.cpp b/src/widgets/qlcdnumber.cpp
index c284da3ea..114aa5306 100644
--- a/src/widgets/qlcdnumber.cpp
+++ b/src/widgets/qlcdnumber.cpp
@@ -396,7 +396,7 @@ void TQLCDNumber::setNumDigits( int numDigits )
bool doDisplay = ndigits == 0;
if ( numDigits == ndigits ) // no change
return;
- register int i;
+ int i;
int dif;
if ( numDigits > ndigits ) { // expand
dif = numDigits - ndigits;