summaryrefslogtreecommitdiff
path: root/UDPExamples/MessageAggregator.cpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2021-05-24 21:55:29 +0200
committerChristoph Berg <myon@debian.org>2021-05-24 21:55:29 +0200
commit2f095a04ed69d9aa14b47dc4acde6b3225b2d65e (patch)
treefe929dd7dbe483f5f439c7a7935125e871550296 /UDPExamples/MessageAggregator.cpp
parent5c88480ddc5c5dab1f3444a8b8de9303fd6140da (diff)
New upstream version 2.4.0+repackupstream/2.4.0+repack
Diffstat (limited to 'UDPExamples/MessageAggregator.cpp')
-rw-r--r--UDPExamples/MessageAggregator.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/UDPExamples/MessageAggregator.cpp b/UDPExamples/MessageAggregator.cpp
index 52124045..f44c036b 100644
--- a/UDPExamples/MessageAggregator.cpp
+++ b/UDPExamples/MessageAggregator.cpp
@@ -31,7 +31,7 @@
// menu that allows each dock window to be hidden or revealed.
//
-#include <clocale>
+#include <locale>
#include <iostream>
#include <exception>
@@ -52,10 +52,9 @@ int main (int argc, char * argv[])
QApplication 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 Reference UDP Message Aggregator Server");
app.setApplicationVersion ("1.0");