diff options
Diffstat (limited to 'libkonq')
-rw-r--r-- | libkonq/konq_pixmapprovider.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libkonq/konq_pixmapprovider.cc b/libkonq/konq_pixmapprovider.cc index 11d0e7af4..fbb16cf72 100644 --- a/libkonq/konq_pixmapprovider.cc +++ b/libkonq/konq_pixmapprovider.cc @@ -182,12 +182,12 @@ TQPixmap KonqPixmapProvider::loadIcon( const TQString& url, const TQString& icon int x = big.width() - small.width(); int y = 0; - if ( big.tqmask() ) { - TQBitmap mask = *big.tqmask(); + if ( big.mask() ) { + TQBitmap mask = *big.mask(); bitBlt( &mask, x, y, - small.tqmask() ? TQT_TQPIXMAP(const_cast<TQBitmap *>(small.tqmask())) : &small, 0, 0, + small.mask() ? TQT_TQPIXMAP(const_cast<TQBitmap *>(small.mask())) : &small, 0, 0, small.width(), small.height(), - small.tqmask() ? OrROP : SetROP ); + small.mask() ? OrROP : SetROP ); big.setMask( mask ); } |