mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed several todo for RimEclipseStatisticsCaseCollection::parentCaseGroup(), removed comments
This commit is contained in:
@@ -51,21 +51,7 @@ RimEclipseStatisticsCaseCollection::~RimEclipseStatisticsCaseCollection()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimIdenticalGridCaseGroup* RimEclipseStatisticsCaseCollection::parentCaseGroup()
|
||||
{
|
||||
|
||||
RimIdenticalGridCaseGroup* parentObject = dynamic_cast<RimIdenticalGridCaseGroup*>(this->owner());
|
||||
RimIdenticalGridCaseGroup* parentObject = dynamic_cast<RimIdenticalGridCaseGroup*>(this->parentField()->ownerObject());
|
||||
return parentObject;
|
||||
|
||||
// MODTODO Remove
|
||||
/*
|
||||
std::vector<RimIdenticalGridCaseGroup*> parentObjects;
|
||||
this->parentObjectsOfType(parentObjects);
|
||||
|
||||
if (parentObjects.size() > 0)
|
||||
{
|
||||
return parentObjects[0];
|
||||
}
|
||||
|
||||
return NULL;
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
@@ -76,8 +76,6 @@
|
||||
#include <QMessageBox>
|
||||
|
||||
|
||||
// MODTODO
|
||||
//#include "cafPdmUiPropertyDialog.h"
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user