From 8db946e368936c62ad410fcf7a9a16941a45f1e0 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Fri, 8 Dec 2023 07:20:21 +0100 Subject: [PATCH] fix #1244 --- src/rssguard/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/rssguard/main.cpp b/src/rssguard/main.cpp index f7054bd9a..6b1cbb11a 100644 --- a/src/rssguard/main.cpp +++ b/src/rssguard/main.cpp @@ -77,6 +77,11 @@ int main(int argc, char* argv[]) { // Instantiate base application object. Application application(QSL(APP_LOW_NAME), argc, argv, raw_cli_args); +#if defined(ENABLE_MEDIAPLAYER_LIBMPV) + qDebugNN << LOGSEC_CORE << "Setting locale for LC_NUMERIC to C as libmpv requires it."; + std::setlocale(LC_NUMERIC, "C"); +#endif + qDebugNN << LOGSEC_CORE << "Instantiated class " << QUOTE_W_SPACE_DOT(application.metaObject()->className()); // Check if another instance is running.