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
KMail
Commits
ef31ff1b
Commit
ef31ff1b
authored
Aug 09, 2021
by
Laurent Montel
😁
Browse files
const'ify variable
parent
aed32f41
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/folderarchive/folderarchiveagentjob.cpp
View file @
ef31ff1b
...
...
@@ -41,7 +41,7 @@ void FolderArchiveAgentJob::start()
auto
fetchCollection
=
new
Akonadi
::
CollectionFetchJob
(
Akonadi
::
Collection
(
mInfo
->
archiveTopLevel
()),
Akonadi
::
CollectionFetchJob
::
Base
);
connect
(
fetchCollection
,
&
Akonadi
::
CollectionFetchJob
::
result
,
this
,
&
FolderArchiveAgentJob
::
slotFetchCollection
);
}
else
{
Akonadi
::
Collection
::
Id
id
=
mManager
->
folderArchiveCache
()
->
collectionId
(
mInfo
);
const
Akonadi
::
Collection
::
Id
id
=
mManager
->
folderArchiveCache
()
->
collectionId
(
mInfo
);
if
(
id
!=
-
1
)
{
auto
fetchCollection
=
new
Akonadi
::
CollectionFetchJob
(
Akonadi
::
Collection
(
id
),
Akonadi
::
CollectionFetchJob
::
Base
);
connect
(
fetchCollection
,
&
Akonadi
::
CollectionFetchJob
::
result
,
this
,
&
FolderArchiveAgentJob
::
slotFetchCollection
);
...
...
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