diff options
author | Domrachev Alexandr <alexandr.domrachev@gmail.com> | 2009-06-19 01:18:23 +0400 |
---|---|---|
committer | Domrachev Alexandr <alexandr.domrachev@gmail.com> | 2009-06-19 01:18:23 +0400 |
commit | 76d86dde4d9e5801ccbdce66f8ccaa86ccbd77d0 (patch) | |
tree | 889e033b803dd2cc47184af4a068f60a7b1bf5af /src/mainview.cpp | |
parent | Remove unused variable declaration (diff) | |
download | rekonq-76d86dde4d9e5801ccbdce66f8ccaa86ccbd77d0.tar.xz |
Application::icon() changed to static
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r-- | src/mainview.cpp | 4 |
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); |