mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Exclude Flatpak and Snap from proxy detection warning
This commit is contained in:
parent
0eded87dd3
commit
6f14becb8c
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user