diff options
author | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2016-03-30 16:52:02 -0300 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-07-05 00:44:12 +0200 |
commit | 8c57742f1e42bf8076b38b4509a109a911b811c7 (patch) | |
tree | a258e1b123bf05821f61bb7d4977afdf47560822 /tests/manual-test-snap.cpp | |
parent | 6105ec78d545d11184aae91700fe5aec8b8bde4b (diff) | |
download | ayatana-indicator-datetime-8c57742f1e42bf8076b38b4509a109a911b811c7.tar.gz ayatana-indicator-datetime-8c57742f1e42bf8076b38b4509a109a911b811c7.tar.bz2 ayatana-indicator-datetime-8c57742f1e42bf8076b38b4509a109a911b811c7.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&){ |