Commit 9b13a328 authored by Glen Ditchfield's avatar Glen Ditchfield 🐛
Browse files

Avoid a potential null dereference

parent 53a967c1
Pipeline #247864 passed with stage
in 13 minutes and 51 seconds
......@@ -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 {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment