diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-03-27 22:28:48 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-03-27 22:47:01 -0400 |
| commit | 568490fdfb14dbef2b64f81ea54bc231b6e68ddb (patch) | |
| tree | 2a69fb5d63ea20e71deae37f299f4c2f0c8621be /Source/Core | |
| parent | d3283a881f34b2a73944645a8e4684b8bb754a7c (diff) | |
MD5Dialog: Call .empty() instead of testing against an empty string
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinQt2/NetPlay/MD5Dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt2/NetPlay/MD5Dialog.cpp b/Source/Core/DolphinQt2/NetPlay/MD5Dialog.cpp index b304b73adc..72fb4af5d5 100644 --- a/Source/Core/DolphinQt2/NetPlay/MD5Dialog.cpp +++ b/Source/Core/DolphinQt2/NetPlay/MD5Dialog.cpp @@ -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; |
