diff --git a/Source/Core/DolphinQt/Debugger/BreakpointDialog.cpp b/Source/Core/DolphinQt/Debugger/BreakpointDialog.cpp index 78611f7d45..990ad7b9e0 100644 --- a/Source/Core/DolphinQt/Debugger/BreakpointDialog.cpp +++ b/Source/Core/DolphinQt/Debugger/BreakpointDialog.cpp @@ -251,7 +251,7 @@ void BreakpointDialog::OnAddressTypeChanged() void BreakpointDialog::accept() { - auto invalid_input = [this](QString field) { + auto invalid_input = [this](const QString& field) { ModalMessageBox::critical(this, tr("Error"), tr("Invalid input for the field \"%1\"").arg(field)); };