Skip to content

Commit

Permalink
Refs #6315. Removing a warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Reuter committed Jan 16, 2013
1 parent 2fbc19d commit e198861
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <QWidget>

class pqColorMapModel;
class pqPipelineBrowserWidget;
class pqPipelineRepresentation;
class pqPipelineSource;
class pqRenderView;
Expand Down Expand Up @@ -67,9 +66,8 @@ class EXPORT_OPT_MANTIDVATES_SIMPLEGUI_VIEWWIDGETS ThreeSliceView : public ViewB
/**
* Correct an oddity in the creation of the 3D view so that the cuts
* are visibile.
* @param pbw the main program's handle to the pqPipelineBrowserWidget
*/
void correctVisibility(pqPipelineBrowserWidget *pbw);
void correctVisibility();
/**
* ViewBase::destroyView
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

class pqColorMapModel;
class pqObjectBuilder;
class pqPipelineBrowserWidget;
class pqPipelineSource;
class pqPipelineRepresentation;
class pqRenderView;
Expand Down Expand Up @@ -67,7 +66,7 @@ class EXPORT_OPT_MANTIDVATES_SIMPLEGUI_VIEWWIDGETS ViewBase : public QWidget
/// Close view generated sub-windows.
virtual void closeSubWindows();
/// Correct post-accept visibility issues.
virtual void correctVisibility(pqPipelineBrowserWidget *pbw);
virtual void correctVisibility();
/// Creates a single view instance.
virtual pqRenderView *createRenderView(QWidget *container,
QString viewName=QString(""));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ void MdViewerWidget::switchViews(ModeControlWidget::Views v)
delete this->hiddenView;
this->currentView->render();
this->currentView->checkViewOnSwitch();
this->currentView->correctVisibility(this->ui.pipelineBrowser);
this->currentView->correctVisibility();
this->viewSettings->updateEnableState();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ void ThreeSliceView::resetDisplay()
this->mainView->resetDisplay();
}

void ThreeSliceView::correctVisibility(pqPipelineBrowserWidget *pbw)
void ThreeSliceView::correctVisibility()
{
this->correctColorScaleRange();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,8 @@ void ViewBase::onLogScale(int state)
* This function is used to correct post-accept visibility issues. Most
* views won't need to do anything.
*/
void ViewBase::correctVisibility(pqPipelineBrowserWidget *pbw)
void ViewBase::correctVisibility()
{
UNUSED_ARG(pbw);
}

/**
Expand Down

0 comments on commit e198861

Please sign in to comment.