This comes from the new way widgets instanciation is handled.
See KitWare issue #10871: https://www.kitware.com/Bug/view.php?id=10871
More to come to align the rest (i.e. Prop panels, etc ...)
myDesktop(desk),
propertiesPanel(0),
pipelineBrowserWidget(0),
+ pipelineModel(0),
sourcesMenu(0),
filtersMenu(0),
macrosMenu(0),
//Pipeline Browser
if ( !pipelineBrowserWidget ) {
- pipelineBrowserWidget = new pqPipelineBrowserWidget(myDesktop);
+ pqPipelineModel* pipelineModel = new pqPipelineModel(*pqApplicationCore::instance()->getServerManagerModel(), this);
+ pipelineModel->setView(pqActiveObjects::instance().activeView());
+ pipelineBrowserWidget = new pqPipelineBrowserWidget(myDesktop);
+ pipelineBrowserWidget->setModel(pipelineModel);
}
// Properties panel
class pqPropertiesPanel;
class pqPipelineBrowserWidget;
+class pqPipelineModel;
class QMainWindow;
class QMenu;
class QToolBar;
// Widgets
pqPropertiesPanel* propertiesPanel;
pqPipelineBrowserWidget* pipelineBrowserWidget;
+ pqPipelineModel* pipelineModel;
// Dummy QMenus receiving ParaView's reaction for automatic add when new sources are added
QMenu* sourcesMenu;