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
db2bd79d
Unverified
Commit
db2bd79d
authored
Feb 09, 2022
by
Andre Heinecke
Browse files
Capture this for QObject call
An older GCC / MinGW from debian buster bails out otherwise.
parent
52c40ed0
Pipeline
#135236
passed with stage
in 1 minute and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/commands/importcertificatescommand.cpp
View file @
db2bd79d
...
...
@@ -849,7 +849,7 @@ void ImportCertificatesCommand::doCancel()
std
::
for_each
(
std
::
cbegin
(
d
->
jobs
),
std
::
cend
(
d
->
jobs
),
[
this
](
const
auto
&
job
)
{
std
::
for_each
(
std
::
cbegin
(
job
.
connections
),
std
::
cend
(
job
.
connections
),
[](
const
auto
&
connection
)
{
QObject
::
disconnect
(
connection
);
});
[
this
](
const
auto
&
connection
)
{
QObject
::
disconnect
(
connection
);
});
job
.
job
->
slotCancel
();
d
->
importResult
(
ImportResult
{
Error
::
fromCode
(
GPG_ERR_CANCELED
)},
job
.
job
);
});
...
...
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