Mercurial > hg > svgui
diff view/Pane.cpp @ 1184:97d0c798c2ac 3.0-integration
Fix some compiler problems
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Tue, 13 Dec 2016 16:23:48 +0000 |
parents | e0ac21f07ab0 |
children | 54e6be7ebe11 |
line wrap: on
line diff
--- a/view/Pane.cpp Fri Dec 09 18:01:55 2016 +0000 +++ b/view/Pane.cpp Tue Dec 13 16:23:48 2016 +0000 @@ -2288,7 +2288,7 @@ } if (e->phase() == Qt::ScrollBegin || - fabs(d) >= 120 || + std::abs(d) >= 120 || (d > 0 && m_pendingWheelAngle < 0) || (d < 0 && m_pendingWheelAngle > 0)) { m_pendingWheelAngle = d;