summaryrefslogtreecommitdiffstats
path: root/pacman-c++/bonuspoint.cpp
blob: 67c8250cc26a1215f1a80fa66e2176cdc73d7d0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "bonuspoint.h"

namespace {
  QPixmap *pixmap = 0;
}

BonusPoint::BonusPoint()
{
  if (pixmap == 0) {
    pixmap = new QPixmap(":/cherry");
  }
  setPixmap(*pixmap);
}