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
KDE PIM Add-ons
Commits
c10a6179
Commit
c10a6179
authored
Jul 31, 2022
by
Laurent Montel
Browse files
Don't use deprecated method
parent
8ccb1e7a
Pipeline
#211229
passed with stage
in 12 minutes and 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
plugins/messageviewer/bodypartformatter/calendar/memorycalendarmemento.cpp
View file @
c10a6179
...
...
@@ -16,7 +16,7 @@ MemoryCalendarMemento::MemoryCalendarMemento()
:
QObject
(
nullptr
)
{
Akonadi
::
ETMCalendar
::
Ptr
etmCalendar
=
CalendarSupport
::
calendarSingleton
(
/*createIfNull=*/
false
);
if
(
etmCalendar
&&
etmCalendar
->
isLoad
ed
())
{
if
(
etmCalendar
&&
!
etmCalendar
->
isLoad
ing
())
{
// Good, either korganizer or kontact summary view are already running, so reuse ETM to save memory
mCalendar
=
etmCalendar
;
QMetaObject
::
invokeMethod
(
this
,
"finalize"
,
Qt
::
QueuedConnection
);
...
...
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