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
6ce7b5ce
Commit
6ce7b5ce
authored
Dec 06, 2021
by
Volker Krause
Browse files
Use Alarm::parentUid instead of the ETM specific custom property hack
Made possible and neccessary by
akonadi-calendar!10
.
parent
e56c71fb
Pipeline
#108398
passed with stage
in 1 minute and 55 seconds
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
6ce7b5ce
...
...
@@ -48,7 +48,7 @@ set(IDENTITYMANAGEMENT_LIB_VERSION "5.19.40")
set
(
KLDAP_LIB_VERSION
"5.19.40"
)
set
(
KMAILTRANSPORT_LIB_VERSION
"5.19.40"
)
set
(
CALENDARUTILS_LIB_VERSION
"5.19.40"
)
set
(
AKONADICALENDAR_LIB_VERSION
"5.19.4
0
"
)
set
(
AKONADICALENDAR_LIB_VERSION
"5.19.4
1
"
)
set
(
KONTACTINTERFACE_LIB_VERSION
"5.19.40"
)
set
(
KMIME_LIB_VERSION
"5.19.40"
)
set
(
KPIMTEXTEDIT_LIB_VERSION
"5.19.40"
)
...
...
korgac/koalarmclient.cpp
View file @
6ce7b5ce
...
...
@@ -194,7 +194,7 @@ void KOAlarmClient::checkAlarms()
const
Alarm
::
List
alarms
=
mCalendar
->
alarms
(
from
,
mLastChecked
,
true
/* exclude blocked alarms */
);
for
(
const
Alarm
::
Ptr
&
alarm
:
alarms
)
{
const
QString
uid
=
alarm
->
customProperty
(
"ETMCalendar"
,
"
parentUid
"
);
const
QString
uid
=
alarm
->
parentUid
(
);
const
Akonadi
::
Item
::
Id
id
=
mCalendar
->
item
(
uid
).
id
();
const
Akonadi
::
Item
item
=
mCalendar
->
item
(
id
);
...
...
@@ -294,7 +294,7 @@ QStringList KOAlarmClient::dumpAlarms() const
lst
<<
QStringLiteral
(
"No alarm found."
);
}
else
{
for
(
const
Alarm
::
Ptr
&
alarm
:
alarms
)
{
const
QString
uid
=
alarm
->
customProperty
(
"ETMCalendar"
,
"
parentUid
"
);
const
QString
uid
=
alarm
->
parentUid
(
);
const
Akonadi
::
Item
::
Id
id
=
mCalendar
->
item
(
uid
).
id
();
const
Akonadi
::
Item
item
=
mCalendar
->
item
(
id
);
...
...
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