mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
BreakpointDialog: Pass QString by const reference to invalid_input
Gets rid of redundant copying.
This commit is contained in:
parent
78f5c5f8d2
commit
867e7d259d
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue