Salome HOME
Fix usage of SUIT_OverrideCursor
[modules/geom.git] / src / RepairGUI / RepairGUI_FreeFacesDlg.cxx
index e564b4cce3eed797abcf46b7af2e364d3473dff7..395bf5301039b266ac3e0825174d262decdd752b 100644 (file)
@@ -286,7 +286,7 @@ bool RepairGUI_FreeFacesDlg::execute( ObjectList& objects )
       return false;
     }
     
-    SUIT_OverrideCursor();
+    SUIT_OverrideCursor wc;
 
     TopExp::MapShapes( aSelShape, anIndices);
     SALOME_Prs* aPrs = 0;
@@ -377,3 +377,15 @@ GEOM::GEOM_Object_ptr RepairGUI_FreeFacesDlg::getFather (GEOM::GEOM_Object_ptr)
 {
   return myObj;
 }
+
+//=================================================================================
+// function : getSourceObjects
+// purpose  : virtual method to get source objects
+//=================================================================================
+QList<GEOM::GeomObjPtr> RepairGUI_FreeFacesDlg::getSourceObjects()
+{
+  QList<GEOM::GeomObjPtr> res;
+  GEOM::GeomObjPtr aGeomObjPtr(myObj);
+  res << aGeomObjPtr;
+  return res;
+}