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* RimEclipseStatisticsCaseCollection::parentCaseGroup()
|
||||||
{
|
{
|
||||||
|
RimIdenticalGridCaseGroup* parentObject = dynamic_cast<RimIdenticalGridCaseGroup*>(this->parentField()->ownerObject());
|
||||||
RimIdenticalGridCaseGroup* parentObject = dynamic_cast<RimIdenticalGridCaseGroup*>(this->owner());
|
|
||||||
return parentObject;
|
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>
|
#include <QMessageBox>
|
||||||
|
|
||||||
|
|
||||||
// MODTODO
|
|
||||||
//#include "cafPdmUiPropertyDialog.h"
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
|
|||||||
@@ -567,10 +567,6 @@ void RiuMainWindow::createDockPanels()
|
|||||||
this, SLOT(selectedObjectsChanged(const QItemSelection&, const QItemSelection &)));
|
this, SLOT(selectedObjectsChanged(const QItemSelection&, const QItemSelection &)));
|
||||||
m_projectTreeView->treeView()->setContextMenuPolicy(Qt::CustomContextMenu);
|
m_projectTreeView->treeView()->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||||
connect(m_projectTreeView->treeView(), SIGNAL(customContextMenuRequested(const QPoint&)), SLOT(customMenuRequested(const QPoint&)));
|
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 readFile(QIODevice* device);
|
||||||
void writeFile(QIODevice* device);
|
void writeFile(QIODevice* device);
|
||||||
|
|
||||||
// MODTODO is it possible to move this to private?
|
|
||||||
static void updateUiIconStateRecursively(PdmObjectHandle* root);
|
static void updateUiIconStateRecursively(PdmObjectHandle* root);
|
||||||
static void initAfterReadTraversal(PdmObjectHandle* root);
|
static void initAfterReadTraversal(PdmObjectHandle* root);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user