summaryrefslogtreecommitdiffstats
path: root/kmines/frame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmines/frame.cpp')
-rw-r--r--kmines/frame.cpp6
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);
}