abort on failure to detect codec for locale

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2021-03-16 21:11:09 +02:00
parent 8487b46bd8
commit 8ba392f33d

View file

@ -126,7 +126,9 @@ static void setupLocaleMapper()
// nl_langinfo() is documented to return empty string only if its argument
// is not valid
Q_ASSERT(localeMapper);
if (!localeMapper) {
qFatal("Could not detect codec for locale");
}
}
/*!