mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-10-12 02:08:45 +00:00
Translations: Warning fix, use qsizetype instead of int
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user