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:
Magne Sjaastad 2013-10-07 11:28:57 +02:00
parent 08b970d084
commit 3faa9d65a4

View File

@ -26,6 +26,7 @@ int main(int argc, char *argv[])
RiaApplication app(argc, argv);
QLocale::setDefault(QLocale(QLocale::English, QLocale::UnitedStates));
setlocale(LC_NUMERIC,"C");
RiuMainWindow window;
QString platform = cvf::System::is64Bit() ? "(64bit)" : "(32bit)";