From edf8b7bbae3ec04c1f04b281419c073505c626d3 Mon Sep 17 00:00:00 2001 From: nowrep Date: Mon, 4 Apr 2011 16:31:57 +0200 Subject: [PATCH] Another site icon fix, hope it is last --- src/webview/webview.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webview/webview.h b/src/webview/webview.h index 67470be6a..61c00875a 100644 --- a/src/webview/webview.h +++ b/src/webview/webview.h @@ -53,7 +53,7 @@ public: WebPage* webPage() const; QString getIp() { return m_currentIp; } QLabel* animationLoading(int index, bool addMovie); - QIcon siteIcon() { return m_siteIcon; } + QIcon siteIcon() { return (m_siteIcon.isNull() ? icon() : m_siteIcon); } void addNotification(QWidget* notif); bool hasRss() { return !m_rss.isEmpty(); } QList > getRss() { return m_rss; }