summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/profilegraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profilegraphics.cpp b/qt-ui/profilegraphics.cpp
index d19623a4a..9973af101 100644
--- a/qt-ui/profilegraphics.cpp
+++ b/qt-ui/profilegraphics.cpp
@@ -995,7 +995,7 @@ void ProfileGraphicsView::plot_depth_profile()
marker = 9144;
break; /* 30 ft */
}
- maxline = MAX(gc.pi.maxdepth + marker, maxdepth * 2 / 3);
+ maxline = qMax(gc.pi.maxdepth + marker, maxdepth * 2 / 3);
c = getColor(DEPTH_GRID);