mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-08 03:28:31 +03:00
MD5Dialog: Call .empty() instead of testing against an empty string
This commit is contained in:
parent
d3283a881f
commit
568490fdfb
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ void MD5Dialog::SetResult(int pid, const std::string& result)
|
|||
m_status_labels[pid]->setText(
|
||||
tr("%1[%2]: %3").arg(player_name, QString::number(pid), QString::fromStdString(result)));
|
||||
|
||||
if (m_last_result == "")
|
||||
if (m_last_result.empty())
|
||||
{
|
||||
m_check_label->setText(tr("The hashes match!"));
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue