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
9b13a328
Commit
9b13a328
authored
Oct 14, 2022
by
Glen Ditchfield
🐛
Browse files
Avoid a potential null dereference
parent
53a967c1
Pipeline
#247864
passed with stage
in 13 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/calendarview.cpp
View file @
9b13a328
...
...
@@ -1441,10 +1441,9 @@ void CalendarView::moveIncidenceToResource(const Akonadi::Item &item, const Akon
if
(
!
oldCal
||
resources
->
deleteIncidence
(
incidence
))
{
KMessageBox
::
error
(
this
,
i18nc
(
"@info"
,
"Unable to remove the item
\"
%1
\"
from
%2
. "
"However, a copy of this item has been put into %
3.
"
,
"Unable to remove the item
\"
%1
\"
from
the original calendar
. "
"However, a copy of this item has been put into %
2
"
,
incidence
->
summary
(),
oldCal
->
resourceName
(),
newCal
->
resourceName
()),
i18nc
(
"@title:window"
,
"Moving Failed"
));
}
else
{
...
...
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