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
KOrganizer
Commits
b678302d
Commit
b678302d
authored
Jul 30, 2022
by
Laurent Montel
Browse files
Port deprecated method
parent
bc581cc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/koapp.cpp
View file @
b678302d
...
...
@@ -60,7 +60,7 @@ int KOrganizerApp::activate(const QStringList &args, const QString &workingDir)
fetchJob
->
fetchScope
().
fetchFullPayload
();
connect
(
fetchJob
,
&
Akonadi
::
ItemFetchJob
::
result
,
this
,
[](
KJob
*
job
)
{
if
(
job
->
error
())
{
KMessageBox
::
detailed
Sorry
(
nullptr
,
i18n
(
"Failed to retrieve incidence from Akonadi"
),
job
->
errorText
());
KMessageBox
::
detailed
Error
(
nullptr
,
i18n
(
"Failed to retrieve incidence from Akonadi"
),
job
->
errorText
());
return
;
}
auto
fetchJob
=
static_cast
<
Akonadi
::
ItemFetchJob
*>
(
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