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
Akonadi Calendar
Commits
657b5e37
Commit
657b5e37
authored
Oct 07, 2022
by
Laurent Montel
Browse files
Coding style
parent
4f6198ec
Pipeline
#243375
passed with stage
in 14 minutes and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
reminder-daemon/kalendaralarmclient.cpp
View file @
657b5e37
...
...
@@ -272,7 +272,7 @@ void KalendarAlarmClient::checkAlarms()
const
auto
notification
=
it
.
value
();
// Protect against null ptr
if
(
!
notification
)
{
if
(
!
notification
)
{
qCDebug
(
Log
)
<<
"Found null active alarm with id: "
<<
it
.
key
()
<<
"Skipping."
;
nullAlarmNotificationIds
.
append
(
it
.
key
());
continue
;
...
...
@@ -287,7 +287,7 @@ void KalendarAlarmClient::checkAlarms()
}
// Remove the null alarm notification ptrs from our notifications
for
(
const
auto
&
nullAlarmId
:
nullAlarmNotificationIds
)
{
for
(
const
auto
&
nullAlarmId
:
nullAlarmNotificationIds
)
{
m_notifications
.
remove
(
nullAlarmId
);
}
...
...
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