Fixed several todo for RimEclipseStatisticsCaseCollection::parentCaseGroup(), removed comments

This commit is contained in:
Magne Sjaastad 2015-08-11 18:42:44 +02:00
parent 89a45c41c0
commit 005114cc3e
4 changed files with 1 additions and 22 deletions

View File

@ -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;
*/
}

View File

@ -76,8 +76,6 @@
#include <QMessageBox>
// MODTODO
//#include "cafPdmUiPropertyDialog.h"
//--------------------------------------------------------------------------------------------------
///

View File

@ -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());
}
{

View File

@ -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);