diff options
Diffstat (limited to 'ksim/library/themeloader.cpp')
-rw-r--r-- | ksim/library/themeloader.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ksim/library/themeloader.cpp b/ksim/library/themeloader.cpp index 58a6f61..3fced29 100644 --- a/ksim/library/themeloader.cpp +++ b/ksim/library/themeloader.cpp @@ -607,11 +607,11 @@ TQValueList<TQPixmap> KSim::Theme::pixmapToList(PixmapType type, for (int i = 0; i < (depth + 1); ++i) { newPixmap.fill(); - if (pixmap.tqmask()) { - TQBitmap tqmask(newPixmap.size()); - bitBlt(&tqmask, 0, 0, pixmap.tqmask(), xOffset, yOffset, + if (pixmap.mask()) { + TQBitmap mask(newPixmap.size()); + bitBlt(&mask, 0, 0, pixmap.mask(), xOffset, yOffset, image.width() - xOffset, size); - newPixmap.setMask(tqmask); + newPixmap.setMask(mask); } bitBlt(&newPixmap, 0, 0, &pixmap, xOffset, yOffset, |