From 45f8d5e018e1321ef748d93e66549c73852acfd0 Mon Sep 17 00:00:00 2001 From: apo Date: Mon, 21 May 2007 05:53:06 +0000 Subject: [PATCH] Prevent using of pure GUI functionality directly from CORBA functionality --- src/VISU_I/VISU_Result_i.cc | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) 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 { -- 2.39.2