Exclude Flatpak and Snap from proxy detection warning

This commit is contained in:
Jonathan White 2023-08-14 22:24:18 -04:00
parent 0eded87dd3
commit 6f14becb8c

View File

@ -199,6 +199,7 @@ QString BrowserSettingsWidget::resolveCustomProxyLocation()
void BrowserSettingsWidget::validateProxyLocation() void BrowserSettingsWidget::validateProxyLocation()
{ {
#if !defined(KEEPASSXC_DIST_SNAP) && !defined(KEEPASSXC_DIST_FLATPAK)
// Reset the UI // Reset the UI
m_ui->messageWidget->setVisible(false); m_ui->messageWidget->setVisible(false);
m_ui->customProxyLocation->setStyleSheet(""); m_ui->customProxyLocation->setStyleSheet("");
@ -229,6 +230,7 @@ void BrowserSettingsWidget::validateProxyLocation()
} }
} }
} }
#endif
} }
void BrowserSettingsWidget::saveSettings() void BrowserSettingsWidget::saveSettings()