Commit cab0e63c authored by Laurent Montel's avatar Laurent Montel 😁

Add a real ETM

parent daad9aa7
......@@ -100,8 +100,8 @@ int main(int argc, char **argv)
e4->setDtEnd(now.addSecs(180));
e4->newAlarm();
Akonadi::ETMCalendar::Ptr invalidPtr;
AlarmDialog dlg(invalidPtr);
Akonadi::ETMCalendar::Ptr calendar(new Akonadi::ETMCalendar());
AlarmDialog dlg(calendar);
dlg.addIncidence(incidenceToItem(e2), QDateTime::currentDateTime().addSecs(60),
QString());
dlg.addIncidence(incidenceToItem(t1), QDateTime::currentDateTime().addSecs(300),
......
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