From 23a43a4d9040e1422ab5ac5dc41c6dc4272b0f84 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 20 Jan 2013 16:58:50 +0100 Subject: Fix IconManager to let webapp window favicons work --- src/icons/iconmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/icons') 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(); -- cgit v1.2.1