diff options
author | Werner Schweer <ws.seh.de> | 2008-07-04 16:20:29 +0000 |
---|---|---|
committer | Werner Schweer <ws.seh.de> | 2008-07-04 16:20:29 +0000 |
commit | cb6262718149270c43bcdae5e8bcdbe26f665c7c (patch) | |
tree | cbe3eb4dd661bc98992c2672be859959a761ec1b | |
parent | 014ef14ff862750a21e3538fc51bf7f6e6e1816e (diff) |
fix compilation issue
-rw-r--r-- | muse/muse/midiedit/ecanvas.cpp | 2 |
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 |