summaryrefslogtreecommitdiff
path: root/src/icons/iconmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/icons/iconmanager.cpp')
-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();