Commit 31d1db7f authored by Claes Sjofors's avatar Claes Sjofors

wb_cmd, added locale for correct parsing of wb_load files

parent f88fde18
...@@ -84,5 +84,9 @@ int main(int argc, char* argv[]) ...@@ -84,5 +84,9 @@ int main(int argc, char* argv[])
{ {
CmdGtk* cmd; CmdGtk* cmd;
setlocale(LC_ALL, "en_US");
setlocale(LC_NUMERIC, "POSIX");
setlocale(LC_TIME, "en_US");
cmd = new CmdGtk(argc, argv); cmd = new CmdGtk(argc, argv);
} }
...@@ -82,6 +82,9 @@ int main(int argc, char* argv[]) ...@@ -82,6 +82,9 @@ int main(int argc, char* argv[])
log_setLevel(LOG_TRACE); log_setLevel(LOG_TRACE);
QApplication app(argc, argv); QApplication app(argc, argv);
QApplication::setStyle(new PwrStyle()); QApplication::setStyle(new PwrStyle());
setlocale(LC_ALL, "en_US");
setlocale(LC_NUMERIC, "POSIX");
setlocale(LC_TIME, "en_US");
new CmdQt(argc, argv); new CmdQt(argc, argv);
return app.exec(); return app.exec();
} }
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment