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
35c58453
Commit
35c58453
authored
Mar 08, 2021
by
Ingo Klöcker
Browse files
Fix build with gpgme 1.15.1 (and earlier)
parent
23cba3ac
Pipeline
#53514
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/kwatchgnupg/kwatchgnupgmainwin.cpp
View file @
35c58453
...
...
@@ -150,7 +150,8 @@ QGpgME::CryptoConfigEntry *getCryptoConfigEntry(const QGpgME::CryptoConfig *conf
#ifdef CRYPTOCONFIG_HAS_GROUPLESS_ENTRY_OVERLOAD
return
config
->
entry
(
componentName
,
QString
::
fromLatin1
(
entryName
));
#else
const
CryptoConfigComponent
*
const
comp
=
config
->
component
(
QString
::
fromLatin1
(
componentName
));
using
namespace
QGpgME
;
const
CryptoConfigComponent
*
const
comp
=
config
->
component
(
componentName
);
const
QStringList
groupNames
=
comp
->
groupList
();
for
(
const
auto
&
groupName
:
groupNames
)
{
const
CryptoConfigGroup
*
const
group
=
comp
?
comp
->
group
(
groupName
)
:
nullptr
;
...
...
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