Skip to content
Browse files

BUG: 3028. Reverted previous commit since it broke Link logic.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21837 3bd1e089-480b-0410-8dfb-8563597acbee
  • Loading branch information...
1 parent bf18339 commit c38b83a08a078e7b9d3924ca98b390ad7453883c alexy committed Mar 23, 2013
Showing with 0 additions and 11 deletions.
  1. +0 −11 Libs/MRML/Widgets/qMRMLSliceControllerWidget.cxx
View
11 Libs/MRML/Widgets/qMRMLSliceControllerWidget.cxx
@@ -202,8 +202,6 @@ void qMRMLSliceControllerWidgetPrivate::setupPopupUi()
q, SLOT(setSliceModelMode2D()));
QObject::connect(this->actionSliceModelMode2D_Volumes, SIGNAL(triggered()),
q, SLOT(setSliceModelMode2D_Volumes()));
- QObject::connect(this->actionSliceModelModeVolumes_2D, SIGNAL(triggered()),
- q, SLOT(setSliceModelModeVolumes_2D()));
//QObject::connect(this->actionSliceModelModeCustom, SIGNAL(triggered()),
// q, SLOT(setSliceModelModeCustom()));
@@ -545,7 +543,6 @@ void qMRMLSliceControllerWidgetPrivate::setupSliceModelMenu()
this->SliceModelMenu->addAction(this->actionSliceModelModeVolumes);
this->SliceModelMenu->addAction(this->actionSliceModelMode2D);
this->SliceModelMenu->addAction(this->actionSliceModelMode2D_Volumes);
- this->SliceModelMenu->addAction(this->actionSliceModelModeVolumes_2D);
//this->SliceModelMenu->addAction(this->actionSliceModelModeCustom);
this->SliceVisibilityButton->setCheckable(true);
@@ -819,8 +816,6 @@ void qMRMLSliceControllerWidgetPrivate::updateWidgetFromMRMLSliceNode()
vtkMRMLSliceNode::SliceResolutionMatch2DView);
this->actionSliceModelMode2D_Volumes->setChecked(this->MRMLSliceNode->GetSliceResolutionMode() ==
vtkMRMLSliceNode::SliceFOVMatch2DViewSpacingMatchVolumes);
- this->actionSliceModelModeVolumes_2D->setChecked(this->MRMLSliceNode->GetSliceResolutionMode() ==
- vtkMRMLSliceNode::SliceFOVMatchVolumesSpacingMatch2DView);
//this->actionSliceModelModeCustom->setChecked(this->MRMLSliceNode->GetSliceResolutionMode() ==
// vtkMRMLSliceNode::SliceResolutionCustom);
@@ -2087,12 +2082,6 @@ void qMRMLSliceControllerWidget::setSliceModelMode2D_Volumes()
}
//---------------------------------------------------------------------------
-void qMRMLSliceControllerWidget::setSliceModelModeVolumes_2D()
-{
- this->setSliceModelMode(vtkMRMLSliceNode::SliceFOVMatchVolumesSpacingMatch2DView);
-}
-
-//---------------------------------------------------------------------------
void qMRMLSliceControllerWidget::setSliceModelModeCustom()
{
this->setSliceModelMode(vtkMRMLSliceNode::SliceResolutionCustom);

0 comments on commit c38b83a

Please sign in to comment.
Something went wrong with that request. Please try again.