From 95be381a9fab4f27fe757063b1f0fc35fcb61f7f Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 3 Nov 2024 17:26:54 +1000 Subject: [PATCH] Qt: Fix cheat code delete message --- src/duckstation-qt/gamecheatsettingswidget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/duckstation-qt/gamecheatsettingswidget.cpp b/src/duckstation-qt/gamecheatsettingswidget.cpp index 0e5444804..a5d9fdf44 100644 --- a/src/duckstation-qt/gamecheatsettingswidget.cpp +++ b/src/duckstation-qt/gamecheatsettingswidget.cpp @@ -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; }