diff options
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); } |