DEV9: Clang format Qt files

This commit is contained in:
TheLastRar 2022-05-22 13:50:17 +01:00 committed by refractionpcsx2
parent 56402db7ee
commit 71637cc282
2 changed files with 2 additions and 3 deletions

View File

@ -377,7 +377,7 @@ void DEV9SettingsWidget::onEthDeviceChanged(int index)
void DEV9SettingsWidget::onEthDHCPInterceptChanged(int state)
{
const bool enabled = (state == Qt::CheckState::PartiallyChecked ? Host::GetBaseBoolSettingValue("DEV9/Eth", "InterceptDHCP", false) : state) ||
((m_adapter_options & AdapterOptions::DHCP_ForcedOn) == AdapterOptions::DHCP_ForcedOn);
((m_adapter_options & AdapterOptions::DHCP_ForcedOn) == AdapterOptions::DHCP_ForcedOn);
// clang-format off
const bool ipOverride = (m_adapter_options & AdapterOptions::DHCP_OverrideIP) == AdapterOptions::DHCP_OverrideIP;

View File

@ -60,7 +60,6 @@ protected:
bool eventFilter(QObject* object, QEvent* event);
private:
void AddAdapter(const AdapterEntry& adapter);
void RefreshHostList();
int CountHostsConfig();