mirror of https://github.com/CGAL/cgal
ItemUsesExtendedStyleOption is available only starting from Qt 4.6
This commit is contained in:
parent
51cb08db2c
commit
7520c27371
|
|
@ -129,7 +129,7 @@ PointsInKdTreeGraphicsItem<KdTree>::PointsInKdTreeGraphicsItem(KdTree * p_)
|
|||
}
|
||||
updateBoundingBox();
|
||||
setZValue(3);
|
||||
#if QT_VERSION > 0x040500
|
||||
#if QT_VERSION >= 0x040600
|
||||
setFlag(QGraphicsItem::ItemUsesExtendedStyleOption, true);
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue