summaryrefslogtreecommitdiff
path: root/src/icons
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-01-20 16:58:50 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-01-20 16:58:50 +0100
commit23a43a4d9040e1422ab5ac5dc41c6dc4272b0f84 (patch)
tree4fdf9897f27181c6affa44a8aec496ccf8a77399 /src/icons
parentUse default application's locale for date formatting in history (diff)
downloadrekonq-23a43a4d9040e1422ab5ac5dc41c6dc4272b0f84.tar.xz
Fix IconManager to let webapp window favicons work
Diffstat (limited to 'src/icons')
-rw-r--r--src/icons/iconmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/icons/iconmanager.cpp b/src/icons/iconmanager.cpp
index 33c62893..49d637ad 100644
--- a/src/icons/iconmanager.cpp
+++ b/src/icons/iconmanager.cpp
@@ -74,7 +74,7 @@ IconManager::IconManager(QObject *parent)
KIcon IconManager::iconForUrl(const KUrl &url)
{
// first things first.. avoid infinite loop at startup
- if (url.isEmpty() || rApp->tabWindowList().isEmpty())
+ if (url.isEmpty() || (rApp->tabWindowList().isEmpty() && rApp->webAppList().isEmpty()))
return KIcon("text-html");
QByteArray encodedUrl = url.toEncoded();