diff options
Diffstat (limited to 'examples/widgets/animation/sub-attaq/progressitem.cpp')
-rw-r--r-- | examples/widgets/animation/sub-attaq/progressitem.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/widgets/animation/sub-attaq/progressitem.cpp b/examples/widgets/animation/sub-attaq/progressitem.cpp index 8b6b367710..350dbb7bbd 100644 --- a/examples/widgets/animation/sub-attaq/progressitem.cpp +++ b/examples/widgets/animation/sub-attaq/progressitem.cpp @@ -49,10 +49,11 @@ ****************************************************************************/ #include "progressitem.h" -#include "pixmapitem.h" -ProgressItem::ProgressItem (QGraphicsItem * parent) - : QGraphicsTextItem(parent), currentLevel(1), currentScore(0) +#include <QFont> + +ProgressItem::ProgressItem(QGraphicsItem *parent) + : QGraphicsTextItem(parent) { setFont(QFont("Comic Sans MS")); setPos(parentItem()->boundingRect().topRight() - QPointF(180, -5)); |