summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Schweer <ws.seh.de>2008-07-04 16:20:29 +0000
committerWerner Schweer <ws.seh.de>2008-07-04 16:20:29 +0000
commitcb6262718149270c43bcdae5e8bcdbe26f665c7c (patch)
treecbe3eb4dd661bc98992c2672be859959a761ec1b
parent014ef14ff862750a21e3538fc51bf7f6e6e1816e (diff)
fix compilation issue
-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