Qt: Fix cheat code delete message

This commit is contained in:
Stenzek 2024-11-03 17:26:54 +10:00
parent 2c3d1d9e60
commit 95be381a9f
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -545,7 +545,8 @@ void GameCheatSettingsWidget::removeCode(const std::string_view code_name, bool
if (QMessageBox::question(this, tr("Confirm Removal"),
tr("You are removing the code named '%1'. You cannot undo this action, are you sure you "
"wish to delete this code?")) != QMessageBox::Yes)
"wish to delete this code?")
.arg(QtUtils::StringViewToQString(code_name))) != QMessageBox::Yes)
{
return;
}