summaryrefslogtreecommitdiffstats
path: root/kmix
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:37 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 23:52:44 +0900
commit0c9e076a4ab62782b73ac09fb45fd9da0df19aec (patch)
tree93c54de885a10fdfb44b39fee0972aa9b394e8d9 /kmix
parente51ec3eaa1902878a55ad0ca8ed50f6c5662d352 (diff)
downloadtdemultimedia-0c9e076a4ab62782b73ac09fb45fd9da0df19aec.tar.gz
tdemultimedia-0c9e076a4ab62782b73ac09fb45fd9da0df19aec.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 6db8697910438fd063598f66a73b68d2dcd70a36)
Diffstat (limited to 'kmix')
-rw-r--r--kmix/ksmallslider.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmix/ksmallslider.cpp b/kmix/ksmallslider.cpp
index c976d3cb..5a67a8b6 100644
--- a/kmix/ksmallslider.cpp
+++ b/kmix/ksmallslider.cpp
@@ -165,7 +165,7 @@ void gradient( TQPainter &p, bool hor, const TQRect &rect, const TQColor &ca, co
int rDiff, gDiff, bDiff;
int rca, gca, bca, rcb, gcb, bcb;
- register int x, y;
+ int x, y;
if ((rect.width()<=0) || (rect.height()<=0)) return;
@@ -173,9 +173,9 @@ void gradient( TQPainter &p, bool hor, const TQRect &rect, const TQColor &ca, co
gDiff = (gcb = cb.green()) - (gca = ca.green());
bDiff = (bcb = cb.blue()) - (bca = ca.blue());
- register int rl = rca << 16;
- register int gl = gca << 16;
- register int bl = bca << 16;
+ int rl = rca << 16;
+ int gl = gca << 16;
+ int bl = bca << 16;
int rcdelta = ((1<<16) / ((!hor) ? rect.height() : rect.width())) * rDiff;
int gcdelta = ((1<<16) / ((!hor) ? rect.height() : rect.width())) * gDiff;