mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 10:46:51 -07:00
Mark Registered Console Type in GUI
This commit is contained in:
parent
c622f418e4
commit
3417202049
1 changed files with 4 additions and 1 deletions
|
@ -348,7 +348,10 @@ void SettingsDialog::UpdateRegisteredHosts()
|
|||
auto hosts = settings->GetRegisteredHosts();
|
||||
for(const auto &host : hosts)
|
||||
{
|
||||
auto item = new QListWidgetItem(QString("%1 (%2)").arg(host.GetServerMAC().ToString(), host.GetServerNickname()));
|
||||
auto item = new QListWidgetItem(QString("%1 (%2, %3)")
|
||||
.arg(host.GetServerMAC().ToString(),
|
||||
chiaki_target_is_ps5(host.GetTarget()) ? "PS5" : "PS4",
|
||||
host.GetServerNickname()));
|
||||
item->setData(Qt::UserRole, QVariant::fromValue(host.GetServerMAC()));
|
||||
registered_hosts_list_widget->addItem(item);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue