Qt/Shortcut: Fix missing parenthesis

This commit is contained in:
KamFretoZ 2025-12-09 18:36:00 +07:00 committed by lightningterror
parent 5ef1993496
commit 1bf1f458d0

View File

@ -203,7 +203,7 @@ void ShortcutCreationDialog::CreateShortcut(const std::string name, const std::s
if (FAILED(res))
{
Console.ErrorFmt("Failed to create shortcut: CoInitialize failed ({})", str_error(res));
QMessageBox::critical(this, tr("Failed to create shortcut"), tr("CoInitialize failed (%1").arg(str_error(res)), QMessageBox::StandardButton::Ok, QMessageBox::StandardButton::Ok);
QMessageBox::critical(this, tr("Failed to create shortcut"), tr("CoInitialize failed (%1)").arg(str_error(res)), QMessageBox::StandardButton::Ok, QMessageBox::StandardButton::Ok);
return;
}