mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-31 06:38:01 +00:00
Merge branch 'master' of https://github.com/dolphin-emu/dolphin into dolphin-emu-master
This commit is contained in:
commit
7e6752e8fc
516 changed files with 60670 additions and 270317 deletions
|
@ -125,7 +125,7 @@ void ChunkedProgressDialog::SetProgress(const int pid, const u64 progress)
|
|||
{
|
||||
QString player_name = GetPlayerNameFromPID(pid);
|
||||
|
||||
if (!m_status_labels.count(pid))
|
||||
if (!m_status_labels.contains(pid))
|
||||
return;
|
||||
|
||||
const float acquired = progress / 1024.0f / 1024.0f;
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -665,7 +665,7 @@ void NetPlayDialog::UpdateGUI()
|
|||
|
||||
auto* name_item = new QTableWidgetItem(QString::fromStdString(p->name));
|
||||
name_item->setToolTip(name_item->text());
|
||||
const auto& status_info = player_status.count(p->game_status) ?
|
||||
const auto& status_info = player_status.contains(p->game_status) ?
|
||||
player_status.at(p->game_status) :
|
||||
std::make_pair(QStringLiteral("?"), QStringLiteral("?"));
|
||||
auto* status_item = new QTableWidgetItem(status_info.first);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue