]> Creatis software - clitk.git/blobdiff - vv/vvToolWidgetBase.cxx
add include
[clitk.git] / vv / vvToolWidgetBase.cxx
index 668a07c813c6a0289cb3c738fb59d0464d23dc0b..6abc741ac47917b8fe6f671492a2b0398e957300 100644 (file)
@@ -3,7 +3,7 @@
 
   Authors belong to:
   - University of LYON              http://www.universite-lyon.fr/
-  - Léon Bérard cancer center       http://oncora1.lyon.fnclcc.fr
+  - Léon Bérard cancer center       http://www.centreleonberard.fr
   - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
 
   This software is distributed WITHOUT ANY WARRANTY; without even
@@ -14,7 +14,7 @@
 
   - BSD        See included LICENSE.txt file
   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
-======================================================================-====*/
+===========================================================================**/
 
 // vv
 #include "vvToolWidgetBase.h"
@@ -25,6 +25,7 @@
 #include <QMessageBox>
 #include <QKeyEvent>
 #include <QDockWidget>
+#include <QTabWidget>
 
 //------------------------------------------------------------------------------
 // Static initialisation
@@ -245,10 +246,7 @@ void vvToolWidgetBase::AddInputSelector(QString s, bool allowSkip)
 //------------------------------------------------------------------------------
 void vvToolWidgetBase::HideInputSelector()
 {
-  QList<int> s;
-  s.push_back(0);
-  s.push_back(1);
-  splitter->setSizes(s);
+  mToolInputSelectionWidget->hide();
 }
 //------------------------------------------------------------------------------