Import Geant4 10.5.0.beta source tree
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user