Unverified Commit 8cc6819d authored by Andre Heinecke's avatar Andre Heinecke
Browse files

Add compatibility for older kcfg versions

The is...Immutable helpers were added in a later version.

GnuPG-Bug-Id: T5716
parent fec93520
Pipeline #131962 passed with stage
in 1 minute and 46 seconds
......@@ -1972,7 +1972,7 @@ void AdvancedSettingsDialog::updateWidgetVisibility()
ui.expiryDE->setVisible(protocol == OpenPGP);
ui.expiryCB->setVisible(protocol == OpenPGP);
const auto settings = Kleo::Settings{};
if (settings.isValidityPeriodInDaysImmutable()) {
if (settings.isImmutable(QStringLiteral("ValidityPeriodInDays"))) {
ui.expiryDE->setEnabled(false);
ui.expiryCB->setEnabled(false);
}
......
Markdown is supported
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