diff options
author | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2016-03-30 21:41:08 -0300 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-08-29 14:37:39 +0200 |
commit | b2908655d4cb5384f2125f63e92a8c6c0bc5dd90 (patch) | |
tree | 8878d385e6838628d13bd663514b55630df22206 /src/appointment.cpp | |
parent | f0711d98cc50d0319bbd4a61007c7ac986b6b5e1 (diff) | |
download | ayatana-indicator-datetime-b2908655d4cb5384f2125f63e92a8c6c0bc5dd90.tar.gz ayatana-indicator-datetime-b2908655d4cb5384f2125f63e92a8c6c0bc5dd90.tar.bz2 ayatana-indicator-datetime-b2908655d4cb5384f2125f63e92a8c6c0bc5dd90.zip |
Create a constructor for Alarm class.
Diffstat (limited to 'src/appointment.cpp')
-rw-r--r-- | src/appointment.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/appointment.cpp b/src/appointment.cpp index ebd5a47..a6800dd 100644 --- a/src/appointment.cpp +++ b/src/appointment.cpp @@ -29,7 +29,8 @@ namespace datetime { bool Alarm::operator==(const Alarm& that) const { - return (text==that.text) + return (type==that.type) + && (text==that.text) && (audio_url==that.audio_url) && (this->time==that.time); } |