diff --git a/src/browser/BrowserSettingsWidget.cpp b/src/browser/BrowserSettingsWidget.cpp index c8d98fa547..1e8a4229da 100644 --- a/src/browser/BrowserSettingsWidget.cpp +++ b/src/browser/BrowserSettingsWidget.cpp @@ -199,6 +199,7 @@ QString BrowserSettingsWidget::resolveCustomProxyLocation() void BrowserSettingsWidget::validateProxyLocation() { +#if !defined(KEEPASSXC_DIST_SNAP) && !defined(KEEPASSXC_DIST_FLATPAK) // Reset the UI m_ui->messageWidget->setVisible(false); m_ui->customProxyLocation->setStyleSheet(""); @@ -229,6 +230,7 @@ void BrowserSettingsWidget::validateProxyLocation() } } } +#endif } void BrowserSettingsWidget::saveSettings()