summaryrefslogtreecommitdiffstats
path: root/labb4/Junk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'labb4/Junk.cpp')
-rw-r--r--labb4/Junk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/labb4/Junk.cpp b/labb4/Junk.cpp
index 5c467da..6e80a06 100644
--- a/labb4/Junk.cpp
+++ b/labb4/Junk.cpp
@@ -9,7 +9,7 @@
Junk::Junk() : Robot() {}
Junk::Junk(Robot c) : Robot(c) {}
-void Junk::draw(QGraphicsScene *scene) const {
+void Junk::draw(QGraphicsScene* scene) const {
Point corner = asPoint();
scene->addEllipse(QRectF(corner.x * UNIT_WIDTH, corner.y * UNIT_HEIGHT,
JUNK_RADIUS, JUNK_RADIUS), QPen(), QBrush(JUNK_COLOR));