diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/src/kernel/tqmovie.cpp')
-rw-r--r-- | experimental/tqtinterface/qt4/src/kernel/tqmovie.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/experimental/tqtinterface/qt4/src/kernel/tqmovie.cpp b/experimental/tqtinterface/qt4/src/kernel/tqmovie.cpp index 87a339c1c..68d3a5c69 100644 --- a/experimental/tqtinterface/qt4/src/kernel/tqmovie.cpp +++ b/experimental/tqtinterface/qt4/src/kernel/tqmovie.cpp @@ -203,7 +203,7 @@ public: TQDataPump *pump; TQDataSource *source; TQPixmap mypixmap; - TQBitmap mytqmask; + TQBitmap mymask; TQColor bg; int error; @@ -388,12 +388,12 @@ void TQMoviePrivate::updatePixmapFromImage(const TQPoint& off, } else { if (gimg.hasAlphaBuffer()) { // Resize to size of image - if (mytqmask.isNull()) { - mytqmask.resize(gimg.width(), gimg.height()); - mytqmask.fill( TQt::color1 ); + if (mymask.isNull()) { + mymask.resize(gimg.width(), gimg.height()); + mymask.fill( TQt::color1 ); } } - mypixmap.setMask(TQBitmap()); // Remove reference to my tqmask + mypixmap.setMask(TQBitmap()); // Remove reference to my mask copyBlt( &mypixmap, area.left(), area.top(), &lines, off.x(), off.y(), area.width(), area.height() ); } @@ -786,8 +786,8 @@ TQMovie& TQMovie::operator=(const TQMovie& movie) /*! Sets the background color of the pixmap to \a c. If the background - color isValid(), the pixmap will never have a tqmask because the - background color will be used in transtqparent regions of the image. + color isValid(), the pixmap will never have a mask because the + background color will be used in transparent regions of the image. \sa backgroundColor() */ |