mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Use 'contains' method
This commit is contained in:
@ -122,7 +122,7 @@ void GameDigestDialog::SetProgress(int pid, int progress)
|
||||
{
|
||||
QString player_name = GetPlayerNameFromPID(pid);
|
||||
|
||||
if (!m_status_labels.count(pid))
|
||||
if (!m_status_labels.contains(pid))
|
||||
return;
|
||||
|
||||
m_status_labels[pid]->setText(
|
||||
@ -134,7 +134,7 @@ void GameDigestDialog::SetResult(int pid, const std::string& result)
|
||||
{
|
||||
QString player_name = GetPlayerNameFromPID(pid);
|
||||
|
||||
if (!m_status_labels.count(pid))
|
||||
if (!m_status_labels.contains(pid))
|
||||
return;
|
||||
|
||||
m_status_labels[pid]->setText(
|
||||
|
Reference in New Issue
Block a user