aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-02-04 09:57:51 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-02-04 09:57:51 -0600
commit61accb9ce497e1f1cbe8038ac495d66d6a4505ff (patch)
tree38bdeca217e4042d0b8578b663df99a922dd918a /src/main.cpp
parent894c0c625ff1e2f2d031f48f157a3008302cb5a7 (diff)
downloadayatana-indicator-datetime-61accb9ce497e1f1cbe8038ac495d66d6a4505ff.tar.gz
ayatana-indicator-datetime-61accb9ce497e1f1cbe8038ac495d66d6a4505ff.tar.bz2
ayatana-indicator-datetime-61accb9ce497e1f1cbe8038ac495d66d6a4505ff.zip
use the appointment's beginning time in the title of the alarm Snap Decision
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 87bfed1..71a1ce5 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -71,7 +71,7 @@ main(int /*argc*/, char** /*argv*/)
// snap decisions
ClockWatcherImpl clock_watcher(state);
- Snap snap(state->clock);
+ Snap snap;
clock_watcher.alarm_reached().connect([&snap](const Appointment& appt){
snap(appt);
});