summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2021-05-24 21:56:12 +0200
committerChristoph Berg <myon@debian.org>2021-05-24 21:56:12 +0200
commit5d6ce68ef66fcb9fa736d942b757f6b039684a8e (patch)
treeac5434b0bb2c1610af8fd22a3d50bee3d2047cd8 /main.cpp
parentf31b3d26dc737dcc9d2e9b8ea34690ffc669815c (diff)
parent2f095a04ed69d9aa14b47dc4acde6b3225b2d65e (diff)
Update upstream source from tag 'upstream/2.4.0+repack'
Update to upstream version '2.4.0+repack' with Debian dir 9ca745702cabe41ba6c3b1e36a86b074ebd5a230
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/main.cpp b/main.cpp
index 2db250b3..e4d14b67 100644
--- a/main.cpp
+++ b/main.cpp
@@ -130,12 +130,8 @@ int main(int argc, char *argv[])
QLocale locale; // get the current system locale
- // Set C/C++ locale used for logging etc.
-#if defined (Q_OS_WIN)
- std::locale::global (std::locale ("C"));
-#else
- std::locale::global (std::locale ("en_US.UTF-8"));
-#endif
+ // reset the C+ & C global locales to the classic C locale
+ std::locale::global (std::locale::classic ());
// Override programs executable basename as application name.
a.setApplicationName ("WSJT-X");