mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-12-16 04:08:48 +00:00
Qt: Fix DEV9 Host name header title
This commit is contained in:
parent
2807a06d76
commit
7419311296
@ -30,7 +30,7 @@ DEV9DnsHostDialog::DEV9DnsHostDialog(std::vector<HostEntryUi> hosts, QWidget* pa
|
||||
QStringList headers;
|
||||
headers.push_back(tr("Selected"));
|
||||
headers.push_back(tr("Name"));
|
||||
headers.push_back(tr("Url"));
|
||||
headers.push_back(tr("Hostname"));
|
||||
headers.push_back(tr("Address"));
|
||||
headers.push_back(tr("Enabled"));
|
||||
m_ethHost_model->setHorizontalHeaderLabels(headers);
|
||||
|
||||
@ -139,7 +139,7 @@ DEV9SettingsWidget::DEV9SettingsWidget(SettingsWindow* settings_dialog, QWidget*
|
||||
|
||||
QStringList headers;
|
||||
headers.push_back(tr("Name"));
|
||||
headers.push_back(tr("Url"));
|
||||
headers.push_back(tr("Hostname"));
|
||||
headers.push_back(tr("Address"));
|
||||
headers.push_back(tr("Enabled"));
|
||||
m_ethHost_model->setHorizontalHeaderLabels(headers);
|
||||
@ -792,7 +792,7 @@ void DEV9SettingsWidget::showEvent(QShowEvent* event)
|
||||
* hidden, maybe because our table is nested within group & tab widgets
|
||||
* We could also listern to out show event, but we also need to listern to the tab
|
||||
* changed signal, in the event that another tab is selected when our ui is shown
|
||||
*
|
||||
*
|
||||
* Instead, lets use an eventFilter to determine exactly when the host table is shown
|
||||
* However, the eventFilter is ran before the widgets event handler, meaning the table
|
||||
* is still the wrong size, so we also need to check the show event
|
||||
|
||||
Loading…
Reference in New Issue
Block a user