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
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01

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()