Import Geant4 10.5.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2018-06-29 10:58:11 +02:00
parent fe81a77428
commit 6aa23be517
1581 changed files with 124288 additions and 83758 deletions
@@ -157,7 +157,8 @@ void G4InteractorMessenger::SetNewValue (
} else if(command==defaultIcons) {
session->DefaultIcons(command->ConvertToBool(newValue));
} else if(command==sys) {
system((const char*)params[0]);
int rc = system((const char*)params[0]);
if ( rc < 0 ){ }
}
}
delete [] params;
+4 -2
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4Xt.cc 66892 2013-01-17 10:57:59Z gunter $
// $Id: G4Xt.cc 110808 2018-06-15 06:58:36Z gcosmo $
//
// G.Barrand
@@ -127,7 +127,9 @@ G4Xt::G4Xt (
}
SetArguments (argn,args);
SetMainInteractor (topWidget);
AddDispatcher ((G4DispatchFunction)XtDispatchEvent);
AddDispatcher(xt_dispatch_event);
// Coverity gcc8 cast warning
// AddDispatcher ((G4DispatchFunction)XtDispatchEvent);
}
/***************************************************************************/
G4Xt::~G4Xt (