summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--muse/muse/midiedit/ecanvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/muse/muse/midiedit/ecanvas.cpp b/muse/muse/midiedit/ecanvas.cpp
index d12ce743..8c2eefbf 100644
--- a/muse/muse/midiedit/ecanvas.cpp
+++ b/muse/muse/midiedit/ecanvas.cpp
@@ -510,7 +510,7 @@ void EventCanvas::mouseMoveCanvasA(QPoint pos)
bool shift = keyState & Qt::ShiftModifier;
bool ctrl = keyState & Qt::ControlModifier;
if (shift && ctrl) {
- if (std::abs(dist.x()) > std::abs(dist.y())) {
+ if (qAbs(dist.x()) > qAbs(dist.y())) {
if (drag == DRAG_MOVE_START)
drag = DRAGX_MOVE;
else