X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fremote.cpp;h=8795c9ad495cb9aeaeef883592303c54417bdac1;hb=7f8597a62c83e59a7bac4bbd7ff10d00e4b1ecfe;hp=1f41978b699270f7615bfa882cbbf7638688b00f;hpb=5711ed959cb165e9691fa741164bceca7187d632;p=irwi diff --git a/src/remote.cpp b/src/remote.cpp index 1f41978..8795c9a 100644 --- a/src/remote.cpp +++ b/src/remote.cpp @@ -62,6 +62,14 @@ Remote &Remote::operator=(const Remote &other) return *this; } +bool Remote::operator==(const Remote &other) const +{ + return (m_name == other.m_name && + m_mfg == other.m_mfg && + m_rating == other.m_rating && + m_voteCount == other.m_voteCount); +} + void Remote::saveToFile() { if (!m_name.isEmpty()) {