Skip to content

Commit

Permalink
Fixed Arch linux locale crash (#2304)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaMarangoni authored Jan 22, 2022
1 parent 24509e6 commit 31690b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/filenamehandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 31690b8

Please sign in to comment.