#2545 Move fields from public to private

This commit is contained in:
Magne Sjaastad
2018-03-01 07:51:30 +01:00
parent bb0f026644
commit ef2179f1ba
19 changed files with 181 additions and 128 deletions

View File

@@ -147,8 +147,8 @@ void RiuExportMultipleSnapshotsWidget::addSnapshotItemFromActiveView()
RimEclipseView* eclipseView = dynamic_cast<RimEclipseView*>(activeView);
if (eclipseView)
{
multiSnapshot->eclipseResultType = eclipseView->cellResult->resultType();
multiSnapshot->selectedEclipseResults.v().push_back(eclipseView->cellResult->resultVariable());
multiSnapshot->eclipseResultType = eclipseView->cellResult()->resultType();
multiSnapshot->selectedEclipseResults.v().push_back(eclipseView->cellResult()->resultVariable());
}
multiSnapshot->timeStepStart = activeView->currentTimeStep();

View File

@@ -1479,7 +1479,7 @@ void RiuMainWindow::slotToggleFaultLabelsAction(bool showLabels)
RimEclipseView* activeRiv = dynamic_cast<RimEclipseView*>(RiaApplication::instance()->activeReservoirView());
if (!activeRiv) return;
activeRiv->faultCollection->showFaultLabel.setValueWithFieldChanged(showLabels);
activeRiv->faultCollection()->showFaultLabel.setValueWithFieldChanged(showLabels);
refreshDrawStyleActions();
}