performance improvement

This commit is contained in:
Max-Wilhelm Bruker 2011-03-09 19:51:49 +01:00
parent 349a60fb58
commit c4efa8f1aa
5 changed files with 64 additions and 32 deletions

View file

@ -27,7 +27,7 @@ public:
enum { Type = typePlayerTarget };
int type() const { return Type; }
PlayerTarget(Player *parent = 0);
PlayerTarget(Player *_player = 0, QGraphicsItem *parentItem = 0);
QRectF boundingRect() const;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);