]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Prevent using of pure GUI functionality directly from CORBA functionality
authorapo <apo@opencascade.com>
Mon, 21 May 2007 05:53:06 +0000 (05:53 +0000)
committerapo <apo@opencascade.com>
Mon, 21 May 2007 05:53:06 +0000 (05:53 +0000)
src/VISU_I/VISU_Result_i.cc

index a23a69bdeabe53dc5b339af8c02e07445cc4aaf1..4914a11510a56091c7f7a07290a4148e9546df85 100644 (file)
@@ -777,8 +777,6 @@ namespace VISU
     if (theResult->GetFileInfoMultipr().filePath().isEmpty())
       return;
 
-    QApplication::setOverrideCursor(Qt::waitCursor);
-
     try
     {
       multipr::Obj multiprObj;
@@ -909,8 +907,6 @@ namespace VISU
       throw std::runtime_error("error while reading distributed MED file"); 
     }
 
-    QApplication::restoreOverrideCursor();
-
     ProcessVoidEvent(new TUpdateObjBrowser(theStudy->StudyId(),theIsDone));
   }
 #endif
@@ -1545,8 +1541,8 @@ Create(const char* theFileName)
 
 //---------------------------------------------------------------
 VISU::Storable*
-VISU::Result_i::
-Create(SALOMEDS::SObject_ptr theMedSObject)
+VISU::Result_i
+::Create(SALOMEDS::SObject_ptr theMedSObject)
 {
   if(MYDEBUG)  MESSAGE("Result_i::Create MedObject from SALOMEDS::SObject_ptr");
   try{
@@ -1574,8 +1570,8 @@ Create(SALOMEDS::SObject_ptr theMedSObject)
 
 //---------------------------------------------------------------
 VISU::Storable*
-VISU::Result_i::
-Create(SALOME_MED::FIELD_ptr theField)
+VISU::Result_i
+::Create(SALOME_MED::FIELD_ptr theField)
 {
   if(MYDEBUG)  MESSAGE("Result_i::Create MedObject from SALOME_MED::FIELD_ptr");
   try{
@@ -1606,10 +1602,10 @@ Create(SALOME_MED::FIELD_ptr theField)
 
 //---------------------------------------------------------------
 VISU::Storable*
-VISU::Result_i::
-Restore(SALOMEDS::SObject_ptr theSObject,
-       const Storable::TRestoringMap& theMap,
-       const string& thePrefix)
+VISU::Result_i
+::Restore(SALOMEDS::SObject_ptr theSObject,
+         const Storable::TRestoringMap& theMap,
+         const string& thePrefix)
 {
   if(MYDEBUG) MESSAGE("Result_i::Restore - " << thePrefix);
   try {