mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-02 02:52:30 +02:00
MD5Dialog: Call .empty() instead of testing against an empty string
This commit is contained in:
parent
d3283a881f
commit
568490fdfb
@ -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…
Reference in New Issue
Block a user