mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-09 23:16:00 -06:00
Fixed several todo for RimEclipseStatisticsCaseCollection::parentCaseGroup(), removed comments
This commit is contained in:
parent
89a45c41c0
commit
005114cc3e
@ -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"
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
|
@ -567,10 +567,6 @@ void RiuMainWindow::createDockPanels()
|
||||
this, SLOT(selectedObjectsChanged(const QItemSelection&, const QItemSelection &)));
|
||||
m_projectTreeView->treeView()->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
connect(m_projectTreeView->treeView(), SIGNAL(customContextMenuRequested(const QPoint&)), SLOT(customMenuRequested(const QPoint&)));
|
||||
|
||||
|
||||
// MODTODO
|
||||
//m_windowsMenu->addAction(dockWidget->toggleViewAction());
|
||||
}
|
||||
|
||||
{
|
||||
|
@ -61,7 +61,6 @@ class PdmDocument: public PdmObject
|
||||
void readFile(QIODevice* device);
|
||||
void writeFile(QIODevice* device);
|
||||
|
||||
// MODTODO is it possible to move this to private?
|
||||
static void updateUiIconStateRecursively(PdmObjectHandle* root);
|
||||
static void initAfterReadTraversal(PdmObjectHandle* root);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user