Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
PIM MailImporter
Commits
58d9e19b
Commit
58d9e19b
authored
Sep 27, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
It's not necessary to use setAutoDelete
Bug found by David
parent
0e5dc66c
Pipeline
#35734
passed with stage
in 24 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/mailimporterakonadi/filterimporterakonadi.cpp
src/mailimporterakonadi/filterimporterakonadi.cpp
+1
-2
No files found.
src/mailimporterakonadi/filterimporterakonadi.cpp
View file @
58d9e19b
...
...
@@ -184,8 +184,7 @@ Akonadi::Collection FilterImporterAkonadi::addSubCollection(const Akonadi::Colle
newSubCollection
.
setParentCollection
(
baseCollection
);
newSubCollection
.
setName
(
newCollectionPathName
);
QScopedPointer
<
Akonadi
::
CollectionCreateJob
>
job
(
new
Akonadi
::
CollectionCreateJob
(
newSubCollection
));
job
->
setAutoDelete
(
false
);
Akonadi
::
CollectionCreateJob
*
job
=
new
Akonadi
::
CollectionCreateJob
(
newSubCollection
);
if
(
!
job
->
exec
())
{
mInfo
->
alert
(
i18n
(
"<b>Error:</b> Could not create folder. Reason: %1"
,
job
->
errorString
()));
...
...
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