summaryrefslogtreecommitdiff
path: root/src/iconmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/iconmanager.cpp')
-rw-r--r--src/iconmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iconmanager.cpp b/src/iconmanager.cpp
index f5b60ea6..ad1172e5 100644
--- a/src/iconmanager.cpp
+++ b/src/iconmanager.cpp
@@ -63,7 +63,7 @@ IconManager::~IconManager()
KIcon IconManager::iconForUrl(const KUrl &url)
{
// first things first.. avoid infinite loop at startup
- if (url.isEmpty() || Application::instance()->mainWindowList().isEmpty())
+ if (url.isEmpty() || rApp->mainWindowList().isEmpty())
return KIcon("text-html");
QByteArray encodedUrl = url.toEncoded();