This commit is contained in:
Martin Rotter 2023-12-08 07:20:21 +01:00
parent 34685859f5
commit 8db946e368

View File

@ -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.