summaryrefslogtreecommitdiff
path: root/utils/themeeditor/graphics/rbtoucharea.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/graphics/rbtoucharea.cpp')
-rw-r--r--utils/themeeditor/graphics/rbtoucharea.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/themeeditor/graphics/rbtoucharea.cpp b/utils/themeeditor/graphics/rbtoucharea.cpp
index e41129a..eee858e 100644
--- a/utils/themeeditor/graphics/rbtoucharea.cpp
+++ b/utils/themeeditor/graphics/rbtoucharea.cpp
@@ -28,8 +28,8 @@
#include <QGraphicsSceneMouseEvent>
RBTouchArea::RBTouchArea(int width, int height, QString action,
- const RBRenderInfo& info)
- : QGraphicsItem(info.screen()),
+ const RBRenderInfo& info, QGraphicsItem* parent)
+ : QGraphicsItem(parent),
size(QRectF(0, 0, width, height)), action(action),
device(info.device())
{