diff --git a/common/comic_db.h b/common/comic_db.h index 926a2193..30b893f3 100644 --- a/common/comic_db.h +++ b/common/comic_db.h @@ -253,7 +253,7 @@ public: Q_PROPERTY(ComicInfo info MEMBER info) ComicDB &operator=(const ComicDB &other); - bool operator==(const ComicDB &other) { return id == other.id; } + bool operator==(const ComicDB &other) const { return id == other.id; } friend QDataStream &operator<<(QDataStream &, const ComicDB &); friend QDataStream &operator>>(QDataStream &, ComicDB &);