@@ -62,6 +62,7 void ChartPresenter::handleGeometryChanged() | |||||
62 | { |
|
62 | { | |
63 | m_rect = QRectF(QPoint(0,0),m_chart->size()); |
|
63 | m_rect = QRectF(QPoint(0,0),m_chart->size()); | |
64 | m_rect.adjust(m_marginSize,m_marginSize, -m_marginSize, -m_marginSize); |
|
64 | m_rect.adjust(m_marginSize,m_marginSize, -m_marginSize, -m_marginSize); | |
|
65 | Q_ASSERT(m_rect.isValid()); | |||
65 | emit geometryChanged(m_rect); |
|
66 | emit geometryChanged(m_rect); | |
66 | } |
|
67 | } | |
67 |
|
68 |
General Comments 0
You need to be logged in to leave comments.
Login now