Refactoring. RimViewWindow.loadDataAndUpdate -> onLoadDataAndUpdate

This commit is contained in:
Bjørn Erik Jensen
2017-10-31 12:49:14 +01:00
parent 6aaa8f7606
commit ae20e1af10
23 changed files with 46 additions and 52 deletions

View File

@@ -412,16 +412,6 @@ void RimWellPltPlot::updateWidgetTitleWindowTitle()
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellPltPlot::syncCurvesFromUiSelection()
{
RimWellLogTrack* plotTrack = m_wellLogPlot->trackByIndex(0);
const std::set<std::pair<RifWellRftAddress, QDateTime>>& curveDefs = selectedCurveDefs();
updateCurvesInPlot(curveDefs);
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
@@ -803,9 +793,10 @@ std::pair<RifWellRftAddress, QDateTime> RimWellPltPlot::curveDefFromCurve(const
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellPltPlot::updateCurvesInPlot(const std::set<std::pair<RifWellRftAddress, QDateTime>>& curveDefs)
void RimWellPltPlot::syncCurvesFromUiSelection()
{
RimWellLogTrack* const plotTrack = m_wellLogPlot->trackByIndex(0);
RimWellLogTrack* plotTrack = m_wellLogPlot->trackByIndex(0);
const std::set<std::pair<RifWellRftAddress, QDateTime>>& curveDefs = selectedCurveDefs();
setPlotXAxisTitles(plotTrack);
@@ -1497,7 +1488,7 @@ QString RimWellPltPlot::description() const
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellPltPlot::loadDataAndUpdate()
void RimWellPltPlot::onLoadDataAndUpdate()
{
if (m_doInitAfterLoad)
{