diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-02-26 03:46:01 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-02-26 03:46:01 -0600 |
commit | e5f71ea767515f50f5ed8c34946a87746a3d4ed7 (patch) | |
tree | 57e6d0c7094593193c5c82c017adaf8ccc163573 /src/main.cpp | |
parent | bb4bb77908d8ccd80260aee4541e45d0a075b0ad (diff) | |
download | ayatana-indicator-datetime-e5f71ea767515f50f5ed8c34946a87746a3d4ed7.tar.gz ayatana-indicator-datetime-e5f71ea767515f50f5ed8c34946a87746a3d4ed7.tar.bz2 ayatana-indicator-datetime-e5f71ea767515f50f5ed8c34946a87746a3d4ed7.zip |
use the timezones object to set the ECalComponent's default timezone. This is needed to properly handle the 'floating' dates in the alarms
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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> actions(new LiveActions(state)); MenuFactory factory(actions, state); |