From e5f71ea767515f50f5ed8c34946a87746a3d4ed7 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 26 Feb 2014 03:46:01 -0600 Subject: use the timezones object to set the ECalComponent's default timezone. This is needed to properly handle the 'floating' dates in the alarms --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 31d9db6..762795f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -59,7 +59,7 @@ main(int /*argc*/, char** /*argv*/) state->settings = live_settings; state->clock = live_clock; state->locations.reset(new SettingsLocations(live_settings, live_timezones)); - state->planner.reset(new PlannerEds(live_clock)); + state->planner.reset(new PlannerEds(live_clock, live_timezones)); state->planner->time = live_clock->localtime(); std::shared_ptr actions(new LiveActions(state)); MenuFactory factory(actions, state); -- cgit v1.2.3