diff --git a/example/zoomlinechart/chartwidget.cpp b/example/zoomlinechart/chartwidget.cpp index 316aded..4b3740d 100644 --- a/example/zoomlinechart/chartwidget.cpp +++ b/example/zoomlinechart/chartwidget.cpp @@ -37,7 +37,7 @@ void ChartWidget::mouseReleaseEvent(QMouseEvent *event) m_rubberBand.hide(); QRect rect = m_rubberBand.geometry(); - zoomInToRect(rect); + zoomIn(rect); event->accept(); }