Commit dc931374 authored by Frederik Gladhorn's avatar Frederik Gladhorn Committed by Shawn Rutledge
Browse files

Remove dead code


Change-Id: I5aa31198e0d5a65ccc45bb57cef266a167a1cd48
Reviewed-by: default avatarPaolo Angelelli <paolo.angelelli@theqtcompany.com>
Showing with 0 additions and 5 deletions
......@@ -1012,11 +1012,6 @@ void QQuickGeoMapGestureArea::updatePinch()
// Add to starting zoom level. Sign of (dist-pinchstartdist) takes care of zoom in / out
m_pinch.m_zoom.m_start;
}
qreal da = m_pinch.m_lastAngle - m_twoTouchAngle;
if (da > 180)
da -= 360;
else if (da < -180)
da += 360;
m_pinch.m_event.setCenter(mapFromScene(m_sceneCenter));
m_pinch.m_event.setAngle(m_twoTouchAngle);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment