summaryrefslogtreecommitdiffstats
path: root/src/itemlibrary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/itemlibrary.cpp')
-rw-r--r--src/itemlibrary.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/itemlibrary.cpp b/src/itemlibrary.cpp
index 67a1a86..4d955d2 100644
--- a/src/itemlibrary.cpp
+++ b/src/itemlibrary.cpp
@@ -367,10 +367,10 @@ TQImage ItemLibrary::itemImage( Item *item, const uint maxSize )
TQPixmap pm( bound.size() );
- TQBitmap tqmask( bound.size() );
- tqmask.fill( TQt::color0 );
+ TQBitmap mask( bound.size() );
+ mask.fill( TQt::color0 );
- TQPainter maskPainter(&tqmask);
+ TQPainter maskPainter(&mask);
maskPainter.translate( -bound.x(), -bound.y() );
maskPainter.setPen( TQt::color1 );
maskPainter.setBrush( TQt::color1 );
@@ -449,7 +449,7 @@ TQImage ItemLibrary::itemImage( Item *item, const uint maxSize )
transMatrix = Component::transMatrix( component->angleDegrees(), component->flipped(), bound.width()/2, bound.height()/2, true );
}
- pm.setMask(tqmask);
+ pm.setMask(mask);
// Now, rotate the image so that it's the right way up, and scale it to size
TQImage im = pm.convertToImage();