]> Creatis software - clitk.git/blobdiff - vv/vvToolROIManager.cxx
Rigid Registration & Overlay Debug try
[clitk.git] / vv / vvToolROIManager.cxx
index ec69e4ee95665914fc9279888f8cca0fc5c591f9..c86b4b2018fa89496b042f7780a5b6948e03039c 100644 (file)
@@ -160,7 +160,7 @@ void  vvToolROIManager::InitializeNewTool(bool ReadStateFlag)
   }
 
   // Display tool in the correct tab
-  QWidget * tab = qFindChild<QWidget*>(mMainWindow->GetTab(), "ROItab");
+  QWidget * tab = mMainWindow->GetTab()->findChild<QWidget*>("ROItab");
   tab->layout()->addWidget(this);
 
   // If not read in a file we start automatically the browser to load