Fix pixmap handling in KMines

This resolves Bug 1416
pull/1/head
Slávek Banko 12 years ago
parent 52d58c6655
commit 063e2351a3

@ -41,14 +41,12 @@ void FieldFrame::adjustSize()
TQBitmap mask;
for (uint i=0; i<Nb_Pixmap_Types; i++) {
TQPixmap mask_pm = mask;
drawPixmap(mask_pm, (PixmapType)i, true);
drawPixmap(mask, (PixmapType)i, true);
drawPixmap(_pixmaps[i], (PixmapType)i, false);
_pixmaps[i].setMask(mask);
}
for (uint i=0; i<Nb_Advised; i++) {
TQPixmap mask_pm = mask;
drawAdvised(mask_pm, i, true);
drawAdvised(mask, i, true);
drawAdvised(_advised[i], i, false);
_advised[i].setMask(mask);
}

Loading…
Cancel
Save