| 467 | } |
| 468 | |
| 469 | void MapWidget::mouseDoubleClickEvent(QMouseEvent * e) |
| 470 | { |
| 471 | if (m_screenshotMode) |
| 472 | return; |
| 473 | |
| 474 | QOpenGLWidget::mouseDoubleClickEvent(e); |
| 475 | if (IsLeftButton(e)) |
| 476 | m_framework.Scale(Framework::SCALE_MAG_LIGHT, GetDevicePoint(e), true); |
| 477 | } |
| 478 | |
| 479 | void MapWidget::mousePressEvent(QMouseEvent * e) |
| 480 | { |
nothing calls this directly
no test coverage detected