Skip to content
GitLab
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
794e082c
Commit
794e082c
authored
Jan 19, 2022
by
Ingo Klöcker
Browse files
Disable UI elements if refresh interval setting is immutable
GnuPG-bug-id: 5791
parent
ddcac04e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/conf/smimevalidationconfigurationwidget.cpp
View file @
794e082c
...
...
@@ -211,6 +211,9 @@ void SMimeValidationConfigurationWidget::load()
const
unsigned
int
refreshInterval
=
preferences
.
refreshInterval
();
d
->
ui
.
intervalRefreshCB
->
setChecked
(
refreshInterval
>
0
);
d
->
ui
.
intervalRefreshSB
->
setValue
(
refreshInterval
);
const
bool
isRefreshIntervalImmutable
=
preferences
.
isImmutable
(
QStringLiteral
(
"RefreshInterval"
));
d
->
ui
.
intervalRefreshCB
->
setEnabled
(
!
isRefreshIntervalImmutable
);
d
->
ui
.
intervalRefreshSB
->
setEnabled
(
!
isRefreshIntervalImmutable
);
CryptoConfig
*
const
config
=
QGpgME
::
cryptoConfig
();
if
(
!
config
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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