mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-12-16 04:08:48 +00:00
Translations: Warning fix, use qsizetype instead of int
This commit is contained in:
parent
e51e4a35fe
commit
40425e3bee
@ -133,7 +133,7 @@ void QtHost::InstallTranslator(QWidget* dialog_parent)
|
|||||||
if (!has_base_ts)
|
if (!has_base_ts)
|
||||||
{
|
{
|
||||||
// Try without the country suffix.
|
// Try without the country suffix.
|
||||||
const int index = language.lastIndexOf('-');
|
const qsizetype index = language.lastIndexOf('-');
|
||||||
if (index > 0)
|
if (index > 0)
|
||||||
{
|
{
|
||||||
base_path = QStringLiteral("%1/qt_%2.qm").arg(base_dir).arg(language.left(index));
|
base_path = QStringLiteral("%1/qt_%2.qm").arg(base_dir).arg(language.left(index));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user