diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:37 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:37 +0900 |
commit | 6db8697910438fd063598f66a73b68d2dcd70a36 (patch) | |
tree | 17ad616e4add01128162bad2e8b2aec21ebd18de /kmix/ksmallslider.cpp | |
parent | c1ac60f0fc2ba193f7219d25d727dec4fc97fd1b (diff) | |
download | tdemultimedia-6db8697910438fd063598f66a73b68d2dcd70a36.tar.gz tdemultimedia-6db8697910438fd063598f66a73b68d2dcd70a36.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmix/ksmallslider.cpp')
-rw-r--r-- | kmix/ksmallslider.cpp | 8 |
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; |