diff options
| author | manuel <manuel@mausz.at> | 2011-04-05 01:29:33 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-05 01:29:33 +0200 |
| commit | 4232f8450d896068713d988cf5541835c3818682 (patch) | |
| tree | 470916a3e1978419d41115eb1e87a0928769e03c /pacman-c++/bonuspoint.cpp | |
| parent | 3dba415cd9741874cdaf0781d7e725808c8a2b8d (diff) | |
| download | foop-4232f8450d896068713d988cf5541835c3818682.tar.gz foop-4232f8450d896068713d988cf5541835c3818682.tar.bz2 foop-4232f8450d896068713d988cf5541835c3818682.zip | |
- we love ogg, we hate mp3/wav
- a lot of coding style/intent fix
- add constant.h to pro files
Diffstat (limited to 'pacman-c++/bonuspoint.cpp')
| -rw-r--r-- | pacman-c++/bonuspoint.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pacman-c++/bonuspoint.cpp b/pacman-c++/bonuspoint.cpp index efff263..e2fdba0 100644 --- a/pacman-c++/bonuspoint.cpp +++ b/pacman-c++/bonuspoint.cpp | |||
| @@ -1,14 +1,14 @@ | |||
| 1 | #include "bonuspoint.h" | 1 | #include "bonuspoint.h" |
| 2 | 2 | ||
| 3 | namespace { | 3 | namespace |
| 4 | { | ||
| 4 | QPixmap *pixmap = 0; | 5 | QPixmap *pixmap = 0; |
| 5 | } | 6 | } |
| 6 | 7 | ||
| 7 | BonusPoint::BonusPoint(QGraphicsItem *parent) | 8 | BonusPoint::BonusPoint(QGraphicsItem *parent) |
| 8 | : PixmapItem(parent) | 9 | : PixmapItem(parent) |
| 9 | { | 10 | { |
| 10 | if (pixmap == 0) { | 11 | if (pixmap == 0) |
| 11 | pixmap = new QPixmap(":/cherry"); | 12 | pixmap = new QPixmap(":/cherry"); |
| 12 | } | ||
| 13 | setPixmap(*pixmap); | 13 | setPixmap(*pixmap); |
| 14 | } | 14 | } |
