Commit d84ab6a6 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: coding style

parent 6a5481be
...@@ -81,7 +81,6 @@ class Q_DECL_HIDDEN Akregator::Feed::Private ...@@ -81,7 +81,6 @@ class Q_DECL_HIDDEN Akregator::Feed::Private
public: public:
explicit Private(Backend::Storage *storage, Akregator::Feed *qq); explicit Private(Backend::Storage *storage, Akregator::Feed *qq);
Backend::Storage *m_storage = nullptr; Backend::Storage *m_storage = nullptr;
bool m_autoFetch = false; bool m_autoFetch = false;
int m_fetchInterval; int m_fetchInterval;
...@@ -506,7 +505,6 @@ void Feed::setFaviconUrl(const QString &url) ...@@ -506,7 +505,6 @@ void Feed::setFaviconUrl(const QString &url)
setFavicon(QIcon(d->m_faviconInfo.imageUrl)); setFavicon(QIcon(d->m_faviconInfo.imageUrl));
} }
void Feed::setFaviconInfo(const Feed::ImageInfo &info) void Feed::setFaviconInfo(const Feed::ImageInfo &info)
{ {
d->m_faviconInfo = info; d->m_faviconInfo = info;
...@@ -799,7 +797,6 @@ void Feed::fetchCompleted(Syndication::Loader *l, Syndication::FeedPtr doc, Synd ...@@ -799,7 +797,6 @@ void Feed::fetchCompleted(Syndication::Loader *l, Syndication::FeedPtr doc, Synd
loadFavicon(doc->icon()->url(), false); loadFavicon(doc->icon()->url(), false);
d->m_faviconInfo.width = doc->icon()->width(); d->m_faviconInfo.width = doc->icon()->width();
d->m_faviconInfo.height = doc->icon()->height(); d->m_faviconInfo.height = doc->icon()->height();
} else { } else {
loadFavicon(xmlUrl(), true); loadFavicon(xmlUrl(), true);
} }
...@@ -1032,12 +1029,12 @@ void Feed::enforceLimitArticleNumber() ...@@ -1032,12 +1029,12 @@ void Feed::enforceLimitArticleNumber()
bool Feed::ImageInfo::operator==(const Feed::ImageInfo &other) const bool Feed::ImageInfo::operator==(const Feed::ImageInfo &other) const
{ {
return other.width == width && return other.width == width
other.height == height && && other.height == height
other.imageUrl == imageUrl; && other.imageUrl == imageUrl;
} }
bool Feed::ImageInfo::operator!=(const Feed::ImageInfo &other) const bool Feed::ImageInfo::operator!=(const Feed::ImageInfo &other) const
{ {
return ! ImageInfo::operator==(other); return !ImageInfo::operator==(other);
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment