MD5Dialog: Call .empty() instead of testing against an empty string

This commit is contained in:
Lioncash 2018-03-27 22:28:48 -04:00
parent d3283a881f
commit 568490fdfb
1 changed files with 1 additions and 1 deletions

View File

@ -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;