Commit 794e082c authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Disable UI elements if refresh interval setting is immutable

GnuPG-bug-id: 5791
parent ddcac04e
......@@ -211,6 +211,9 @@ void SMimeValidationConfigurationWidget::load()
const unsigned int refreshInterval = preferences.refreshInterval();
d->ui.intervalRefreshCB->setChecked(refreshInterval > 0);
const bool isRefreshIntervalImmutable = preferences.isImmutable(QStringLiteral("RefreshInterval"));
CryptoConfig *const config = QGpgME::cryptoConfig();
if (!config) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment