diff options
| author | Christoph Berg <myon@debian.org> | 2021-05-24 21:55:29 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2021-05-24 21:55:29 +0200 |
| commit | 2f095a04ed69d9aa14b47dc4acde6b3225b2d65e (patch) | |
| tree | fe929dd7dbe483f5f439c7a7935125e871550296 /main.cpp | |
| parent | 5c88480ddc5c5dab1f3444a8b8de9303fd6140da (diff) | |
New upstream version 2.4.0+repackupstream/2.4.0+repack
Diffstat (limited to 'main.cpp')
| -rw-r--r-- | main.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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"); |
