From a584bcfdf694cb6259246959ae7dcdb9aed114ef Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Tue, 10 Nov 2015 11:11:13 +0100 Subject: [PATCH] Removed unused functions and variables --- .../ProjectDataModel/RimWellLogTrack.cpp | 23 ------------------- .../ProjectDataModel/RimWellLogTrack.h | 1 - .../UserInterface/RiuViewerCommands.cpp | 1 - 3 files changed, 25 deletions(-) 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();