Merge pull request #7069 from leoetlino/player-id

PadMappingDialog: Show player ID in player dropdown
This commit is contained in:
Léo Lam 2018-06-05 00:02:04 +02:00 committed by GitHub
commit 226f88bcb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -56,7 +56,10 @@ int PadMappingDialog::exec()
players.append(tr("None"));
for (const auto& player : m_players)
players.append(QString::fromStdString(player->name));
{
players.append(
QStringLiteral("%1 (%2)").arg(QString::fromStdString(player->name)).arg(player->pid));
}
for (auto& combo_group : {m_gc_boxes, m_wii_boxes})
{