Translations: Warning fix, use qsizetype instead of int

This commit is contained in:
Ty 2025-10-25 12:40:15 -04:00 committed by Ty
parent e51e4a35fe
commit 40425e3bee

View File

@ -133,7 +133,7 @@ void QtHost::InstallTranslator(QWidget* dialog_parent)
if (!has_base_ts)
{
// Try without the country suffix.
const int index = language.lastIndexOf('-');
const qsizetype index = language.lastIndexOf('-');
if (index > 0)
{
base_path = QStringLiteral("%1/qt_%2.qm").arg(base_dir).arg(language.left(index));