##// END OF EJS Templates
minor. fix warning on gcc4.1
Michal Klocek -
r1961:f68af6687512
parent child
Show More
@@ -143,7 +143,7 void QChartView::mousePressEvent(QMouseEvent *event)
143 143 void QChartView::mouseMoveEvent(QMouseEvent *event)
144 144 {
145 145 if(d_ptr->m_rubberBand && d_ptr->m_rubberBand->isVisible()) {
146 QRectF rect = d_ptr->m_chart->plotArea();
146 QRect rect = d_ptr->m_chart->plotArea().toRect();
147 147 int width = event->pos().x() - d_ptr->m_rubberBandOrigin.x();
148 148 int height = event->pos().y() - d_ptr->m_rubberBandOrigin.y();
149 149 if (!d_ptr->m_rubberBandFlags.testFlag(VerticalRubberBand)) {
General Comments 0
You need to be logged in to leave comments. Login now