mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Set numeric locale to make sure parsing of text in ResInsight and
dependant libraries (ERT) are robust to different userdefined system locales.
This commit is contained in:
parent
08b970d084
commit
3faa9d65a4
@ -26,6 +26,7 @@ int main(int argc, char *argv[])
|
|||||||
RiaApplication app(argc, argv);
|
RiaApplication app(argc, argv);
|
||||||
|
|
||||||
QLocale::setDefault(QLocale(QLocale::English, QLocale::UnitedStates));
|
QLocale::setDefault(QLocale(QLocale::English, QLocale::UnitedStates));
|
||||||
|
setlocale(LC_NUMERIC,"C");
|
||||||
|
|
||||||
RiuMainWindow window;
|
RiuMainWindow window;
|
||||||
QString platform = cvf::System::is64Bit() ? "(64bit)" : "(32bit)";
|
QString platform = cvf::System::is64Bit() ? "(64bit)" : "(32bit)";
|
||||||
|
Loading…
Reference in New Issue
Block a user