Changeset View
Changeset View
Standalone View
Standalone View
autotests/loadcalendar.cpp
Context not available. | |||||
41 | 41 | | |||
---|---|---|---|---|---|
42 | MemoryCalendar::Ptr cal(new MemoryCalendar(QTimeZone::utc())); | 42 | MemoryCalendar::Ptr cal(new MemoryCalendar(QTimeZone::utc())); | ||
43 | FileStorage store(cal, QStringLiteral("cal")); | 43 | FileStorage store(cal, QStringLiteral("cal")); | ||
44 | store.load(); | 44 | if (!store.load()) { | ||
45 | qWarning() << "Error storing into memory calendar"; | ||||
46 | return 1; | ||||
47 | } | ||||
45 | 48 | | |||
46 | Todo::List todoList; | 49 | Todo::List todoList; | ||
47 | 50 | | |||
Context not available. |