Skip to content

Commit

Permalink
Refs #7363. Cleanup empty member function.
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumsteve committed Apr 16, 2015
1 parent 55b928b commit 2d70c63
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
Expand Up @@ -163,8 +163,6 @@ protected slots:
void disconnectDialogs();
/// Consolidate constructor related items.
void internalSetup(bool pMode);
/// Disable communication with the proxy tab widget.
void removeProxyTabWidgetConnections();
/// Perform first render and final setup for mode buttons.
void renderAndFinalSetup();
/// Set the signals/slots for the ParaView components based on the view.
Expand Down
Expand Up @@ -281,19 +281,6 @@ void MdViewerWidget::connectLoadDataReaction(QAction *action)
this, SLOT(onDataLoaded(pqPipelineSource*)));
}

/**
* This function disconnects ParaView connections between pqActiveObjects
* and the pqProxyTabWidget. This is necessary for clean view switching.
*/
void MdViewerWidget::removeProxyTabWidgetConnections()
{
//QObject::disconnect(&pqActiveObjects::instance(), 0,
// this->ui.propertiesPanel, 0);
//this->ui.propertiesPanel->setRepresentation(NULL);
//this->ui.propertiesPanel->setView(NULL);
//this->ui.propertiesPanel->setOutputPort(NULL);
}

/**
* This function creates the requested view on the main window.
* @param container the UI widget to associate the view mode with
Expand Down Expand Up @@ -978,7 +965,6 @@ void MdViewerWidget::switchViews(ModeControlWidget::Views v)
this->viewSwitched = true;
this->currentView->closeSubWindows();
this->disconnectDialogs();
this->removeProxyTabWidgetConnections();
this->hiddenView = this->setMainViewWidget(this->ui.viewWidget, v);
this->hiddenView->setColorScaleState(this->ui.colorSelectionWidget);
this->hiddenView->hide();
Expand Down

0 comments on commit 2d70c63

Please sign in to comment.