mirror of https://github.com/PCSX2/pcsx2.git
DEV9: Clang format Qt files
This commit is contained in:
parent
56402db7ee
commit
71637cc282
|
@ -377,7 +377,7 @@ void DEV9SettingsWidget::onEthDeviceChanged(int index)
|
||||||
void DEV9SettingsWidget::onEthDHCPInterceptChanged(int state)
|
void DEV9SettingsWidget::onEthDHCPInterceptChanged(int state)
|
||||||
{
|
{
|
||||||
const bool enabled = (state == Qt::CheckState::PartiallyChecked ? Host::GetBaseBoolSettingValue("DEV9/Eth", "InterceptDHCP", false) : 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
|
// clang-format off
|
||||||
const bool ipOverride = (m_adapter_options & AdapterOptions::DHCP_OverrideIP) == AdapterOptions::DHCP_OverrideIP;
|
const bool ipOverride = (m_adapter_options & AdapterOptions::DHCP_OverrideIP) == AdapterOptions::DHCP_OverrideIP;
|
||||||
|
|
|
@ -60,7 +60,6 @@ protected:
|
||||||
bool eventFilter(QObject* object, QEvent* event);
|
bool eventFilter(QObject* object, QEvent* event);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
void AddAdapter(const AdapterEntry& adapter);
|
void AddAdapter(const AdapterEntry& adapter);
|
||||||
void RefreshHostList();
|
void RefreshHostList();
|
||||||
int CountHostsConfig();
|
int CountHostsConfig();
|
||||||
|
|
Loading…
Reference in New Issue