From 63643b5c3a048a4c736919a3396ac27c1afa9b89 Mon Sep 17 00:00:00 2001 From: Bryant Mairs Date: Thu, 26 Jun 2014 21:33:30 -0700 Subject: [PATCH] QMouseEvent methods were renamed. --- src/ui/HSIDisplay.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/HSIDisplay.cc b/src/ui/HSIDisplay.cc index 21d47924a..c944d05ef 100644 --- a/src/ui/HSIDisplay.cc +++ b/src/ui/HSIDisplay.cc @@ -723,7 +723,7 @@ void HSIDisplay::mouseDoubleClickEvent(QMouseEvent * event) { if (event->type() == QMouseEvent::MouseButtonDblClick) { - QPointF p = screenToMetricBody(event->posF()); + QPointF p = screenToMetricBody(event->localPos()); if (!directSending) { setBodySetpointCoordinateXY(p.x(), p.y()); -- 2.22.0