From 7419311296d18dc474d2693a94835620ca899a92 Mon Sep 17 00:00:00 2001 From: KamFretoZ <14798312+kamfretoz@users.noreply.github.com> Date: Mon, 8 Dec 2025 16:52:19 +0700 Subject: [PATCH] Qt: Fix DEV9 Host name header title --- pcsx2-qt/Settings/DEV9DnsHostDialog.cpp | 2 +- pcsx2-qt/Settings/DEV9SettingsWidget.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pcsx2-qt/Settings/DEV9DnsHostDialog.cpp b/pcsx2-qt/Settings/DEV9DnsHostDialog.cpp index d0caf4a440..83e480e66a 100644 --- a/pcsx2-qt/Settings/DEV9DnsHostDialog.cpp +++ b/pcsx2-qt/Settings/DEV9DnsHostDialog.cpp @@ -30,7 +30,7 @@ DEV9DnsHostDialog::DEV9DnsHostDialog(std::vector 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); diff --git a/pcsx2-qt/Settings/DEV9SettingsWidget.cpp b/pcsx2-qt/Settings/DEV9SettingsWidget.cpp index 2d1edd0902..973075a5dd 100644 --- a/pcsx2-qt/Settings/DEV9SettingsWidget.cpp +++ b/pcsx2-qt/Settings/DEV9SettingsWidget.cpp @@ -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