summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/BreakpointDialog.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-06-08 20:54:21 +0200
committerGitHub <noreply@github.com>2023-06-08 20:54:21 +0200
commit0d07ebab25888887ac1affbb7b79c1764b3cabcb (patch)
treefaa351c8b1bd5b5a4fcb5ff3a80ba76b34dadc4e /Source/Core/DolphinQt/Debugger/BreakpointDialog.cpp
parente8c87dc4fd3f25f57b13940b2a3ce82618e20648 (diff)
parent2b0a9477d04579877d0225b94a3bcd618dea5918 (diff)
Merge pull request #11908 from lioncash/strcopy
Debugger: Remove some trivial string copies
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/BreakpointDialog.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/BreakpointDialog.cpp2
1 files changed, 1 insertions, 1 deletions
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));
};