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
PIM Messagelib
Commits
5ec32e7d
Commit
5ec32e7d
authored
Jun 08, 2021
by
Laurent Montel
😁
Browse files
Use const'ref
parent
0b8dcfc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
messagecomposer/src/composer/composerviewbase.cpp
View file @
5ec32e7d
...
...
@@ -617,7 +617,7 @@ bool ComposerViewBase::addKeysToContext(const QString &gnupgHome,
bool
needSpecialContext
=
false
;
for
(
const
auto
&
p
:
data
)
{
for
(
const
auto
k
:
p
.
second
)
{
for
(
const
auto
&
k
:
p
.
second
)
{
const
auto
it
=
autocryptMap
.
find
(
k
.
primaryFingerprint
());
if
(
it
!=
autocryptMap
.
end
())
{
needSpecialContext
=
true
;
...
...
@@ -640,7 +640,7 @@ bool ComposerViewBase::addKeysToContext(const QString &gnupgHome,
QEventLoop
loop
;
int
runningJobs
=
0
;
for
(
const
auto
&
p
:
data
)
{
for
(
const
auto
k
:
p
.
second
)
{
for
(
const
auto
&
k
:
p
.
second
)
{
const
auto
it
=
autocryptMap
.
find
(
k
.
primaryFingerprint
());
if
(
it
==
autocryptMap
.
end
())
{
qDebug
()
<<
"Adding "
<<
k
.
primaryFingerprint
()
<<
"via Export/Import"
;
...
...
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