diff options
author | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2016-03-30 16:52:02 -0300 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-08-29 14:37:39 +0200 |
commit | dd4265f22ee05aab8dbe6d60f9c7a13f85818466 (patch) | |
tree | c01abb0cee8377855c02bf0560d63690db719b9c /tests/manual-test-snap.cpp | |
parent | 46f3fa5a94d82a5f005039ca8d9df1330bdc4f4c (diff) | |
download | ayatana-indicator-datetime-dd4265f22ee05aab8dbe6d60f9c7a13f85818466.tar.gz ayatana-indicator-datetime-dd4265f22ee05aab8dbe6d60f9c7a13f85818466.tar.bz2 ayatana-indicator-datetime-dd4265f22ee05aab8dbe6d60f9c7a13f85818466.zip |
Only play a sound alert if the event contains a SOUND reminder.
Diffstat (limited to 'tests/manual-test-snap.cpp')
-rw-r--r-- | tests/manual-test-snap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual-test-snap.cpp b/tests/manual-test-snap.cpp index a0f80f2..5aa49a7 100644 --- a/tests/manual-test-snap.cpp +++ b/tests/manual-test-snap.cpp @@ -71,7 +71,7 @@ int main(int argc, const char* argv[]) a.type = Appointment::UBUNTU_ALARM; a.begin = DateTime::Local(2014, 12, 25, 0, 0, 0); a.end = a.begin.end_of_day(); - a.alarms.push_back(Alarm{"Alarm Text", "", a.begin}); + a.alarms.push_back(Alarm{"Alarm Text", "", a.begin, Alarm::SOUND}); auto loop = g_main_loop_new(nullptr, false); auto on_snooze = [loop](const Appointment& appt, const Alarm&){ |