diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-03-13 01:21:41 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-03-13 01:23:00 +0100 |
commit | 063e2351a3b0b09b483a4cc7755fdd70160ac3c0 (patch) | |
tree | 694ba33e54f5bbafefbb997a088052df47c52e49 /kmines | |
parent | 52d58c665537573fe4a1a180fbfc312c53594797 (diff) | |
download | tdegames-063e2351a3b0b09b483a4cc7755fdd70160ac3c0.tar.gz tdegames-063e2351a3b0b09b483a4cc7755fdd70160ac3c0.zip |
Fix pixmap handling in KMines
This resolves Bug 1416
Diffstat (limited to 'kmines')
-rw-r--r-- | kmines/frame.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/kmines/frame.cpp b/kmines/frame.cpp index 91cca53e..3788dee5 100644 --- a/kmines/frame.cpp +++ b/kmines/frame.cpp @@ -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); } |