diff --git a/src/libdanbooru/danboorupost.cpp b/src/libdanbooru/danboorupost.cpp index 95a9003..b5c3aec 100644 --- a/src/libdanbooru/danboorupost.cpp +++ b/src/libdanbooru/danboorupost.cpp @@ -150,7 +150,7 @@ const QUrl DanbooruPost::fileUrl() const return m_url; } -const Danbooru::DanbooruPost::Rating DanbooruPost::rating() const +Danbooru::DanbooruPost::Rating DanbooruPost::rating() const { return m_rating; } diff --git a/src/libdanbooru/danboorupost.h b/src/libdanbooru/danboorupost.h index f1bf2e6..d0e6513 100644 --- a/src/libdanbooru/danboorupost.h +++ b/src/libdanbooru/danboorupost.h @@ -198,7 +198,7 @@ namespace Danbooru { /** * @return The current post's rating. **/ - const Rating rating() const; + Rating rating() const; /** * Set the post's pixmap to a specific QPixmap instance's pointer.