From 2f095a04ed69d9aa14b47dc4acde6b3225b2d65e Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Mon, 24 May 2021 21:55:29 +0200 Subject: New upstream version 2.4.0+repack --- main.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'main.cpp') 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"); -- cgit v1.2.3