summaryrefslogtreecommitdiffstats
path: root/tdm/kfrontend
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:35 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:35 +0900
commit8250c8e42310cb39ceb6ae425bc8546208733e99 (patch)
tree6e27394b86eb387505f1e2cb712630e001d34fb8 /tdm/kfrontend
parent234e466e0e524cfd92a268c37d504a7ff910ca45 (diff)
downloadtdebase-8250c8e42310cb39ceb6ae425bc8546208733e99.tar.gz
tdebase-8250c8e42310cb39ceb6ae425bc8546208733e99.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdm/kfrontend')
-rw-r--r--tdm/kfrontend/themer/tdmitem.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdm/kfrontend/themer/tdmitem.cpp b/tdm/kfrontend/themer/tdmitem.cpp
index 26a4887c1..ce5904a26 100644
--- a/tdm/kfrontend/themer/tdmitem.cpp
+++ b/tdm/kfrontend/themer/tdmitem.cpp
@@ -322,9 +322,9 @@ KdmItem::paint( TQPainter *p, const TQRect &rect )
TQImage lightVersion;
lightVersion = copy.convertToImage();
- register uchar * r = lightVersion.bits();
- register uchar * g = lightVersion.bits() + 1;
- register uchar * b = lightVersion.bits() + 2;
+ uchar * r = lightVersion.bits();
+ uchar * g = lightVersion.bits() + 1;
+ uchar * b = lightVersion.bits() + 2;
uchar * end = lightVersion.bits() + lightVersion.numBytes();
while ( r != end ) {
@@ -356,7 +356,7 @@ KdmItem::paint( TQPainter *p, const TQRect &rect )
TQImage img( myWidget->size(), 32 );
img = img.convertDepth(32);
img.setAlphaBuffer(true);
- register uchar * rd = img.bits();
+ uchar * rd = img.bits();
for( int y = 0; y < img.height(); ++y )
{
for( short int x = 0; x < img.width(); ++x )