diff options
author | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2016-03-31 15:51:29 -0300 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-07-05 01:41:04 +0200 |
commit | b1031b1de834f246bba806cd51bfbb22f5c15b16 (patch) | |
tree | 721bedfc5523c1f124c32e850bdb3354928ec011 /tests/test-alarm-queue.cpp | |
parent | 7965d5b411db00de44f5c43dffac935e70347ec6 (diff) | |
download | ayatana-indicator-datetime-b1031b1de834f246bba806cd51bfbb22f5c15b16.tar.gz ayatana-indicator-datetime-b1031b1de834f246bba806cd51bfbb22f5c15b16.tar.bz2 ayatana-indicator-datetime-b1031b1de834f246bba806cd51bfbb22f5c15b16.zip |
Remove type property from Alarm.
Diffstat (limited to 'tests/test-alarm-queue.cpp')
-rw-r--r-- | tests/test-alarm-queue.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-alarm-queue.cpp b/tests/test-alarm-queue.cpp index 49bd933..42edf74 100644 --- a/tests/test-alarm-queue.cpp +++ b/tests/test-alarm-queue.cpp @@ -79,7 +79,7 @@ protected: a1.type = Appointment::UBUNTU_ALARM; a1.begin = tomorrow_begin; a1.end = tomorrow_end; - a1.alarms.push_back(Alarm{Alarm::SOUND, "Alarm Text", "", a1.begin}); + a1.alarms.push_back(Alarm{"Alarm Text", "", a1.begin}); const auto ubermorgen_begin = now.add_days(2).start_of_day(); const auto ubermorgen_end = ubermorgen_begin.end_of_day(); @@ -92,7 +92,7 @@ protected: a2.type = Appointment::EVENT; a2.begin = ubermorgen_begin; a2.end = ubermorgen_end; - a2.alarms.push_back(Alarm{Alarm::SOUND, "Alarm Text", "", a2.begin}); + a2.alarms.push_back(Alarm{"Alarm Text", "", a2.begin}); return std::vector<Appointment>({a1, a2}); } |