From: apo Date: Mon, 21 May 2007 05:53:06 +0000 (+0000) Subject: Prevent using of pure GUI functionality directly from CORBA functionality X-Git-Tag: mergeto_BR_Dev_For_4_0_21May07~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=45f8d5e018e1321ef748d93e66549c73852acfd0;p=modules%2Fvisu.git Prevent using of pure GUI functionality directly from CORBA functionality --- diff --git a/src/VISU_I/VISU_Result_i.cc b/src/VISU_I/VISU_Result_i.cc index a23a69bd..4914a115 100644 --- a/src/VISU_I/VISU_Result_i.cc +++ b/src/VISU_I/VISU_Result_i.cc @@ -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 {