Skip to content

Commit

Permalink
Make calendar actually work again by not fetching a static date range.
Browse files Browse the repository at this point in the history
  • Loading branch information
rburchell committed Feb 24, 2013
1 parent ec93a48 commit 342a08e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions qml/qmlcalendar/CalendarView.qml
Expand Up @@ -101,12 +101,10 @@ Item {

property OrganizerModel organizer: OrganizerModel {
manager: "qtorganizer:mkcal"
//manager:"qtorganizer:mkcal:"
//startPeriod: currentDate
//endPeriod: Month.tomorrow(currentDate);

startPeriod: '2011-01-01'
endPeriod: '2012-12-31'
// TODO: fetching a full month (possibly even a year) around currentDate would probably be a good idea
startPeriod: currentDate
endPeriod: Month.tomorrow(currentDate);
autoUpdate: true

onEventsChanged: {
Expand Down

0 comments on commit 342a08e

Please sign in to comment.