Exclude Flatpak and Snap from proxy detection warning

This commit is contained in:
Jonathan White
2023-08-14 22:24:18 -04:00
parent e84d6c0b06
commit 742a4f8980

View File

@@ -198,6 +198,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("");
@@ -228,6 +229,7 @@ void BrowserSettingsWidget::validateProxyLocation()
}
}
}
#endif
}
void BrowserSettingsWidget::saveSettings()