diff --git a/ApplicationCode/ProjectDataModel/RimWellLogTrack.cpp b/ApplicationCode/ProjectDataModel/RimWellLogTrack.cpp index 2fb419c114..8532280db0 100644 --- a/ApplicationCode/ProjectDataModel/RimWellLogTrack.cpp +++ b/ApplicationCode/ProjectDataModel/RimWellLogTrack.cpp @@ -266,29 +266,6 @@ void RimWellLogTrack::zoomAllXAndZoomAllDepthOnOwnerPlot() } } -//-------------------------------------------------------------------------------------------------- -/// -//-------------------------------------------------------------------------------------------------- -void RimWellLogTrack::alignDepthZoomToPlotAndZoomAllX() -{ - if (m_wellLogTrackPlotWidget) - { - RimWellLogPlot* wellLogPlot; - firstAnchestorOrThisOfType(wellLogPlot); - if (wellLogPlot) - { - double minimumDepth, maximumDepth; - wellLogPlot->depthZoomMinMax(&minimumDepth, &maximumDepth); - - m_wellLogTrackPlotWidget->setDepthZoom(minimumDepth, maximumDepth); - } - - zoomAllXAxis(); - - m_wellLogTrackPlotWidget->replot(); - } -} - //-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- diff --git a/ApplicationCode/ProjectDataModel/RimWellLogTrack.h b/ApplicationCode/ProjectDataModel/RimWellLogTrack.h index ca49f14f51..b15b3cf7b7 100644 --- a/ApplicationCode/ProjectDataModel/RimWellLogTrack.h +++ b/ApplicationCode/ProjectDataModel/RimWellLogTrack.h @@ -58,7 +58,6 @@ public: void availableDepthRange(double* minimumDepth, double* maximumDepth); void zoomAllXAndZoomAllDepthOnOwnerPlot(); - void alignDepthZoomToPlotAndZoomAllX(); void zoomAllXAxis(); RiuWellLogTrack* viewer(); diff --git a/ApplicationCode/UserInterface/RiuViewerCommands.cpp b/ApplicationCode/UserInterface/RiuViewerCommands.cpp index eff716ad7f..ac39c34a8d 100644 --- a/ApplicationCode/UserInterface/RiuViewerCommands.cpp +++ b/ApplicationCode/UserInterface/RiuViewerCommands.cpp @@ -528,7 +528,6 @@ void RiuViewerCommands::handlePickAction(int winPosX, int winPosY, Qt::KeyboardM // Delete all curves if no cell is hit mainWnd->timeHistoryPlot()->deleteAllCurves(); - std::vector items; RiuSelectionManager::instance()->deleteAllItems(); m_reservoirView->scheduleCreateDisplayModelAndRedraw();