Commit d2dca7a9 authored by Volker Krause's avatar Volker Krause

Make the alarmdialog test show its content again

parent 1d9e2137
......@@ -38,9 +38,10 @@
using namespace KCalCore;
static Akonadi::Item::Id id = 1;
template<class T> Akonadi::Item incidenceToItem(T *incidence)
Akonadi::Item item;
Akonadi::Item item(++id);
item.setPayload< QSharedPointer<T> >(QSharedPointer<T>(incidence));
return item;
Markdown is supported
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