~ubuntu-branches/ubuntu/wily/kdebase-workspace/wily

« back to all changes in this revision

Viewing changes to plasma/generic/dataengines/calendar/akonadi/calendar.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2011-04-21 10:25:50 UTC
  • Revision ID: james.westby@ubuntu.com-20110421102550-xx1pv8v9yyk50usu
Tags: 4:4.6.2a-0ubuntu5
Add kubuntu_122_akonadi_calendar_dataengine.diff from upstream,
fixes https://bugs.kde.org/261593 Frequent plasma-desktop crashes

Show diffs side-by-side

added added

removed removed

Lines of Context:
254
254
  const Akonadi::Item::Id id = item.id();
255
255
 
256
256
  const KCalCore::Incidence::Ptr incidence = CalendarSupport::incidence( item );
257
 
  Q_ASSERT( incidence );
 
257
 
 
258
  if ( !incidence ) {
 
259
    return;
 
260
  }
258
261
 
259
262
  // TODO: remove this debug message in a few months
260
263
  kDebug() << "id=" << item.id()