summaryrefslogtreecommitdiff
path: root/UDPExamples/UDPDaemon.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 /UDPExamples/UDPDaemon.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 'UDPExamples/UDPDaemon.cpp')
-rw-r--r--UDPExamples/UDPDaemon.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/UDPExamples/UDPDaemon.cpp b/UDPExamples/UDPDaemon.cpp
index 1d3a7abe..4dc04af8 100644
--- a/UDPExamples/UDPDaemon.cpp
+++ b/UDPExamples/UDPDaemon.cpp
@@ -17,6 +17,7 @@
#include <iostream>
#include <exception>
+#include <locale>
#include <cstdlib>
#include <QCoreApplication>
@@ -263,10 +264,9 @@ int main (int argc, char * argv[])
QCoreApplication app {argc, argv};
try
{
- setlocale (LC_NUMERIC, "C"); // ensure number forms are in
- // consistent format, do this after
- // instantiating QApplication so
- // that GUI has correct l18n
+ // ensure number forms are in consistent format, do this after
+ // instantiating QApplication so that GUI has correct l18n
+ std::locale::global (std::locale::classic ());
app.setApplicationName ("WSJT-X UDP Message Server Daemon");
app.setApplicationVersion ("1.0");