From 56c7db037465c8e3905e2f361980abd400154405 2012-05-29 07:10:45 From: Michal Klocek Date: 2012-05-29 07:10:45 Subject: [PATCH] Fix last post remove in qlineseries --- diff --git a/src/linechart/linechartitem.cpp b/src/linechart/linechartitem.cpp index 9ead231..1243fff 100644 --- a/src/linechart/linechartitem.cpp +++ b/src/linechart/linechartitem.cpp @@ -56,7 +56,9 @@ void LineChartItem::updateGeometry() if(points.size()==0) { + prepareGeometryChange(); m_path = QPainterPath(); + m_rect = QRect(); return; }