summaryrefslogtreecommitdiffstats
path: root/style/qtcurve.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-01-30 20:17:57 +0900
committerMichele Calgaro <[email protected]>2020-01-30 23:52:59 +0900
commita8d88c3ebb2570b1de36ca9392b180a628623be0 (patch)
tree26adf1fc3c195475f48c6de1c8740975f649cc31 /style/qtcurve.cpp
parent85364a842a62d00b1a64c41e56268b94af516fd8 (diff)
downloadtde-style-qtcurve-a8d88c3ebb2570b1de36ca9392b180a628623be0.tar.gz
tde-style-qtcurve-a8d88c3ebb2570b1de36ca9392b180a628623be0.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 74f3c1de12a68cb4533910a4a6e3579e5a657ddb)
Diffstat (limited to 'style/qtcurve.cpp')
-rw-r--r--style/qtcurve.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/style/qtcurve.cpp b/style/qtcurve.cpp
index 9f06adb..24b1f19 100644
--- a/style/qtcurve.cpp
+++ b/style/qtcurve.cpp
@@ -7446,10 +7446,10 @@ void QtCurveStyle::drawGradient(const TQColor &top, const TQColor &bot,
r.coords(&rx, &ry, &rx2, &ry2);
- register int rl(rTop << 16);
- register int gl(gTop << 16);
- register int bl(bTop << 16);
- register int i;
+ int rl(rTop << 16);
+ int gl(gTop << 16);
+ int bl(bTop << 16);
+ int i;
int dr(((1<<16) * (bot.red() - rTop)) / size),
dg(((1<<16) * (bot.green() - gTop)) / size),