From 31690b85064af556015261a7145da402b62b9d68 Mon Sep 17 00:00:00 2001 From: Andrea Date: Sat, 22 Jan 2022 14:18:32 +0000 Subject: [PATCH] Fixed Arch linux locale crash (#2304) --- src/utils/filenamehandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/filenamehandler.cpp b/src/utils/filenamehandler.cpp index 3bc529594c..ffee256942 100644 --- a/src/utils/filenamehandler.cpp +++ b/src/utils/filenamehandler.cpp @@ -15,7 +15,7 @@ FileNameHandler::FileNameHandler(QObject* parent) { auto err = AbstractLogger::error(AbstractLogger::Stderr); try { - std::locale::global(std::locale("")); + std::locale::global(std::locale()); } catch (std::exception& e) { err << "Locales on your system are not properly configured. Falling " "back to defaults";