summaryrefslogtreecommitdiffstats
path: root/examples/sql/drilldown/imageitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sql/drilldown/imageitem.cpp')
-rw-r--r--examples/sql/drilldown/imageitem.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/sql/drilldown/imageitem.cpp b/examples/sql/drilldown/imageitem.cpp
index f712717f08..991ab98f28 100644
--- a/examples/sql/drilldown/imageitem.cpp
+++ b/examples/sql/drilldown/imageitem.cpp
@@ -41,9 +41,8 @@
#include "imageitem.h"
//! [0]
-ImageItem::ImageItem(int id, const QPixmap &pixmap, QGraphicsItem *parent,
- QGraphicsScene *scene)
- : QGraphicsPixmapItem(pixmap, parent, scene)
+ImageItem::ImageItem(int id, const QPixmap &pixmap, QGraphicsItem *parent)
+ : QGraphicsPixmapItem(pixmap, parent)
{
recordId = id;
setAcceptHoverEvents(true);