Import Geant4 10.7.2 source tree

This commit is contained in:
Gabriele Cosmo
2021-06-14 10:01:31 +02:00
parent 3dfcdb544e
commit c968e26a39
271 changed files with 26365 additions and 21942 deletions
+7
View File
@@ -16,6 +16,13 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
18 March 2021 John Allison (interfaces-V10-06-13)
- G4UIQt::ReceiveG4cout/G4cerr:
o Trap empty string with empty() instead of using unary operator!
(The latter may work for std::string but G4String has a conversion
operator to char*, so ! is always false.)
o Fixes bug report #2347.
26 January 2020 John Allison (interfaces-V10-06-12)
- G4UIQt.cc: Get colour and background from OS.
o Instead of fixed background <span style='background:#EEEEEE...
+2 -2
View File
@@ -2014,7 +2014,7 @@ G4int G4UIQt::ReceiveG4cout (
const G4String& aString
)
{
if (!aString) return 0;
if(aString.empty()) return 0;
#ifdef G4MULTITHREADED
G4AutoLock al(&ReceiveG4coutMutex);
@@ -2105,7 +2105,7 @@ G4int G4UIQt::ReceiveG4cerr (
const G4String& aString
)
{
if (!aString) return 0;
if (aString.empty()) return 0;
#ifdef G4MULTITHREADED
G4AutoLock al(&ReceiveG4cerrMutex);