aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-06-24 00:06:55 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-06-24 00:06:55 -0500
commitdd54649aa56790ec43fc4272bc41e6916b4ebb31 (patch)
tree33acfae20aafafedab76921053426ba3fa36d6c2 /src/main.cpp
parent373832769c30a950629a4ca9474bd7f5bf03a6b4 (diff)
downloadayatana-indicator-datetime-dd54649aa56790ec43fc4272bc41e6916b4ebb31.tar.gz
ayatana-indicator-datetime-dd54649aa56790ec43fc4272bc41e6916b4ebb31.tar.bz2
ayatana-indicator-datetime-dd54649aa56790ec43fc4272bc41e6916b4ebb31.zip
in the snap decision code, handle sound custom loop durations
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 5c6d41d..1940eb6 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -141,7 +141,7 @@ main(int /*argc*/, char** /*argv*/)
MenuFactory factory(actions, state);
// set up the snap decisions
- Snap snap (state->settings);
+ Snap snap (state->clock, state->settings);
auto alarm_queue = create_simple_alarm_queue(state->clock, engine, timezone);
alarm_queue->alarm_reached().connect([&snap](const Appointment& appt){
auto snap_show = [](const Appointment& a){