diff options
Diffstat (limited to 'pacman-c++/bonuspoint.cpp')
| -rw-r--r-- | pacman-c++/bonuspoint.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pacman-c++/bonuspoint.cpp b/pacman-c++/bonuspoint.cpp index 67c8250..efff263 100644 --- a/pacman-c++/bonuspoint.cpp +++ b/pacman-c++/bonuspoint.cpp | |||
| @@ -4,7 +4,8 @@ namespace { | |||
| 4 | QPixmap *pixmap = 0; | 4 | QPixmap *pixmap = 0; |
| 5 | } | 5 | } |
| 6 | 6 | ||
| 7 | BonusPoint::BonusPoint() | 7 | BonusPoint::BonusPoint(QGraphicsItem *parent) |
| 8 | : PixmapItem(parent) | ||
| 8 | { | 9 | { |
| 9 | if (pixmap == 0) { | 10 | if (pixmap == 0) { |
| 10 | pixmap = new QPixmap(":/cherry"); | 11 | pixmap = new QPixmap(":/cherry"); |
