aboutsummaryrefslogtreecommitdiffstats
path: root/gowin/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gowin/main.cc')
-rw-r--r--gowin/main.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/gowin/main.cc b/gowin/main.cc
index e3c6762b..19c1d02c 100644
--- a/gowin/main.cc
+++ b/gowin/main.cc
@@ -91,15 +91,6 @@ void GowinCommandHandler::customAfterLoad(Context *ctx)
int main(int argc, char *argv[])
{
- // set the locale here because when you create a context you create several
- // floating point strings whose representation depends on the locale. If
- // you don't do this, the strings will be in the C locale and later when Qt
- // starts it won't be able to read them back as numbers.
- try {
- std::locale::global(std::locale(""));
- } catch (const std::runtime_error &e) {
- // the locale is broken in this system, so leave it as it is
- }
GowinCommandHandler handler(argc, argv);
return handler.exec();
}