Fix crash when removing pie series from chart...
Fix crash when removing pie series from chart
Connections cleanup in PieChartItem destructor didn't account for the
possibility of series already having been destroyed. Changed m_series
to QPointer so that it'll notice when series gets destroyed, and
also added cleaning of slices to series destructor.
Task-number: QTRD-1946
Change-Id: I651347bfcfbe7cd78dd26220a811fea5c8071fce
Reviewed-by: Mika Salmela
Reviewed-by: Mika Salmela <mika.salmela@digia.com>