@@ -45,6 +45,7 PieChartItem::PieChartItem(QPieSeries *series, ChartPresenter* presenter) | |||
|
45 | 45 | |
|
46 | 46 | // Note: the following does not affect as long as the item does not have anything to paint |
|
47 | 47 | setZValue(ChartPresenter::PieSeriesZValue); |
|
48 | setFlags(QGraphicsItem::ItemClipsChildrenToShape); | |
|
48 | 49 | } |
|
49 | 50 | |
|
50 | 51 | PieChartItem::~PieChartItem() |
@@ -37,7 +37,6 ScatterChartItem::ScatterChartItem(QScatterSeries *series, ChartPresenter *prese | |||
|
37 | 37 | QObject::connect(m_series,SIGNAL(updated()), this, SLOT(handleUpdated())); |
|
38 | 38 | |
|
39 | 39 | setZValue(ChartPresenter::ScatterSeriesZValue); |
|
40 | setFlags(QGraphicsItem::ItemHasNoContents); | |
|
41 | 40 | setFlags(QGraphicsItem::ItemClipsChildrenToShape); |
|
42 | 41 | |
|
43 | 42 | handleUpdated(); |
General Comments 0
You need to be logged in to leave comments.
Login now