summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 8862ee47..d15444ab 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -593,7 +593,7 @@ void MainView::webViewIconChanged()
int index = webViewIndex(webView);
if (-1 != index)
{
- QIcon icon = Application::instance()->icon(webView->url());
+ QIcon icon = Application::icon(webView->url());
QLabel *label = animatedLoading(index, false);
QMovie *movie = label->movie();
delete movie;
@@ -643,7 +643,7 @@ void MainView::aboutToShowRecentTabsMenu()
{
KAction *action = new KAction(m_recentlyClosedTabsMenu);
action->setData(m_recentlyClosedTabs.at(i));
- QIcon icon = Application::instance()->icon(m_recentlyClosedTabs.at(i));
+ QIcon icon = Application::icon(m_recentlyClosedTabs.at(i));
action->setIcon(icon);
action->setText(m_recentlyClosedTabs.at(i).prettyUrl());
m_recentlyClosedTabsMenu->addAction(action);