Import Geant4 10.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 12:08:39 +02:00
parent 286caacf06
commit c9b32a6c0a
5770 changed files with 1050949 additions and 367105 deletions
+17 -1
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4Qt.cc 74547 2013-10-14 12:51:17Z gcosmo $
// $Id: G4Qt.cc 79026 2014-02-12 09:53:32Z gcosmo $
//
// L. Garnier
@@ -153,6 +153,22 @@ G4Qt::G4Qt (
}
#endif
// AddDispatcher ((G4DispatchFunction)XtDispatchEvent);
/*
* On some non-English locale, comma is used for the decimal separator instead of dot
* bringing to weird behavior of strtod (string to double) function in user application.
* This is "by design" from Qt, see https://bugreports.qt-project.org/browse/QTBUG-10994
*
* $ LC_NUMERIC=fr_FR.UTF-8 ./qtstrtod
* strtod(0.1) = 0
* $ LC_NUMERIC=C ./qtstrtod
* strtod(0.1) = 0.1
*
* Jerome Suhard, jerome@suhard.fr
*/
// explicitly set the LC_NUMBERIC locale to "C"
setlocale (LC_NUMERIC, "C");
}
/***************************************************************************/
G4Qt::~G4Qt (