@@ -211,7 +211,7 void QChartView::mouseReleaseEvent(QMouseEvent *event) | |||
|
211 | 211 | event->accept(); |
|
212 | 212 | } |
|
213 | 213 | |
|
214 |
|
|
|
214 | } else if (d_ptr->m_rubberBand && event->button() == Qt::RightButton) { | |
|
215 | 215 | // If vertical or horizontal rubberband mode, restrict zoom out to specified axis. |
|
216 | 216 | // Since there is no suitable API for that, use zoomIn with rect bigger than the |
|
217 | 217 | // plot area. |
@@ -230,7 +230,6 void QChartView::mouseReleaseEvent(QMouseEvent *event) | |||
|
230 | 230 | d_ptr->m_chart->zoomOut(); |
|
231 | 231 | } |
|
232 | 232 | event->accept(); |
|
233 | } | |
|
234 | 233 | } else { |
|
235 | 234 | #endif |
|
236 | 235 | QGraphicsView::mouseReleaseEvent(event); |
General Comments 0
You need to be logged in to leave comments.
Login now