summaryrefslogtreecommitdiffstats
path: root/libkonq/konq_pixmapprovider.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libkonq/konq_pixmapprovider.cc')
-rw-r--r--libkonq/konq_pixmapprovider.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/libkonq/konq_pixmapprovider.cc b/libkonq/konq_pixmapprovider.cc
index 9ce147b07..3cff83453 100644
--- a/libkonq/konq_pixmapprovider.cc
+++ b/libkonq/konq_pixmapprovider.cc
@@ -182,13 +182,13 @@ TQPixmap KonqPixmapProvider::loadIcon( const TQString& url, const TQString& icon
int x = big.width() - small.width();
int y = 0;
- if ( big.tqmask() ) {
- TQBitmap tqmask = *big.tqmask();
- bitBlt( &tqmask, x, y,
- small.tqmask() ? const_cast<TQBitmap *>(small.tqmask()) : &small, 0, 0,
+ if ( big.mask() ) {
+ TQBitmap mask = *big.mask();
+ bitBlt( &mask, x, y,
+ small.mask() ? const_cast<TQBitmap *>(small.mask()) : &small, 0, 0,
small.width(), small.height(),
- small.tqmask() ? OrROP : SetROP );
- big.setMask( tqmask );
+ small.mask() ? OrROP : SetROP );
+ big.setMask( mask );
}
bitBlt( &big, x, y, &small );