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";