summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorDomrachev Alexandr <alexandr.domrachev@gmail.com>2009-06-19 01:18:23 +0400
committerDomrachev Alexandr <alexandr.domrachev@gmail.com>2009-06-19 01:18:23 +0400
commit76d86dde4d9e5801ccbdce66f8ccaa86ccbd77d0 (patch)
tree889e033b803dd2cc47184af4a068f60a7b1bf5af /src/mainwindow.cpp
parentRemove unused variable declaration (diff)
downloadrekonq-76d86dde4d9e5801ccbdce66f8ccaa86ccbd77d0.tar.xz
Application::icon() changed to static
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index aed1ef9c..b60e3469 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -766,7 +766,7 @@ void MainWindow::slotAboutToShowBackMenu()
QWebHistoryItem item = history->backItems(history->count()).at(i);
KAction *action = new KAction(this);
action->setData(-1*(historyCount - i - 1));
- QIcon icon = Application::instance()->icon(item.url());
+ QIcon icon = Application::icon(item.url());
action->setIcon(icon);
action->setText(item.title());
m_historyBackMenu->addAction(action);