(#378) Refactored Expansion in MainWindow,

Removed some use of the obsolete tree view model
This commit is contained in:
Jacob Støren
2015-08-14 18:06:22 +02:00
parent e805c893c6
commit 6ca74621ef
6 changed files with 16 additions and 14 deletions

View File

@@ -44,6 +44,7 @@
#include "RimWellPathCollection.h"
#include "RimOilField.h"
#include "RimEclipseCaseCollection.h"
#include "cafSelectionManager.h"
@@ -122,11 +123,9 @@ public:
virtual bool interpretCommand(RiaSocketServer* server, const QList<QByteArray>& args, QDataStream& socketStream)
{
RiuMainWindow* ruiMainWindow = RiuMainWindow::instance();
if (ruiMainWindow)
{
std::vector<RimCase*> cases;
ruiMainWindow->selectedCases(cases);
caf::SelectionManager::instance()->objectsByType(&cases);
std::vector<qint64> caseIds;
std::vector<QString> caseNames;