Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Kleopatra
Commits
8cc6819d
Unverified
Commit
8cc6819d
authored
Dec 14, 2021
by
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
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/newcertificatewizard/newcertificatewizard.cpp
View file @
8cc6819d
...
...
@@ -1972,7 +1972,7 @@ void AdvancedSettingsDialog::updateWidgetVisibility()
ui
.
expiryDE
->
setVisible
(
protocol
==
OpenPGP
);
ui
.
expiryCB
->
setVisible
(
protocol
==
OpenPGP
);
const
auto
settings
=
Kleo
::
Settings
{};
if
(
settings
.
isValidityPeriodInDays
Immutable
(
))
{
if
(
settings
.
is
Immutable
(
QStringLiteral
(
"
ValidityPeriodInDays
"
)
))
{
ui
.
expiryDE
->
setEnabled
(
false
);
ui
.
expiryCB
->
setEnabled
(
false
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment