X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_ProfileDlg.cxx;h=611e888f23d5589dbecef5ea1ba69e4f91fc435b;hb=8c36538920c44b66924b596a8d2c8a10bab9b7e5;hp=9c10ea4a994f448b5d68f2a7e72c66eb8c141e97;hpb=3cc307dd0c8bbcc054b82ca99d143a44e494ab04;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ProfileDlg.cxx b/src/HYDROGUI/HYDROGUI_ProfileDlg.cxx index 9c10ea4a..611e888f 100644 --- a/src/HYDROGUI/HYDROGUI_ProfileDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_ProfileDlg.cxx @@ -27,6 +27,7 @@ #include #include +#include #include #include @@ -37,8 +38,6 @@ #include #include -#include - #include #include #include @@ -204,7 +203,7 @@ void HYDROGUI_ProfileDlg::onMouseMove( SUIT_ViewWindow* theViewWindow, QMouseEve OCCViewer_ViewWindow* anOCCViewWindow = dynamic_cast(theViewWindow); if ( anOCCViewWindow && anOCCViewWindow->getViewPort() ) { - gp_Pnt aPnt = GEOMUtils::ConvertClickToPoint( + gp_Pnt aPnt = CurveCreator_Utils::ConvertClickToPoint( theEvent->x(), theEvent->y(), anOCCViewWindow->getViewPort()->getView() ); // Show the coordinates