-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
4.6.0, 5.15
-
None
-
3
-
a2446c0eede445eb40905487b1ba7c689aa8baef
-
DaVinci sprint 5
Since ImageItem does not reimplement QGraphicsPixmapItem::type () it returns the same type like QGraphicsPixmapItem, so you cannot reliable use qgraphicsitem_cast<ImageItem *>(item) (just qgraphicsitem_cast<QGraphicsPixmapItem *>(item)).
See also documentation of QGraphicsItem::type () http://doc.trolltech.com/4.6/qgraphicsitem.html#type
For Gerrit Dashboard: QTBUG-7357 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
293129,4 | Doc: Let SQL Drill Down example show correct use of qgraphicsitem_cast | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |