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
libkleo
Commits
2e372499
Commit
2e372499
authored
Apr 19, 2021
by
Ingo Klöcker
Browse files
Use signal introduced in Qt 5.15 to simplify connect call
GnuPG-bug-id: 5283
parent
2831423b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/newkeyapprovaldialog.cpp
View file @
2e372499
...
...
@@ -323,10 +323,8 @@ public:
smimeBtn
->
setChecked
(
presetProtocol
==
GpgME
::
CMS
);
}
QObject
::
connect
(
mFormatBtns
,
static_cast
<
void
(
QButtonGroup
::*
)(
QAbstractButton
*
,
bool
)
>
(
&
QButtonGroup
::
buttonToggled
),
q
,
[
this
](
QAbstractButton
*
,
bool
)
{
updateWidgetVisibility
();
});
QObject
::
connect
(
mFormatBtns
,
&
QButtonGroup
::
idToggled
,
q
,
[
this
](
int
,
bool
)
{
updateWidgetVisibility
();
});
mMainLay
->
addWidget
(
mScrollArea
);
...
...
Write
Preview
Markdown
is supported
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