From 2d52276803a4145546f74d5d179091667e9186ab Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sat, 11 Sep 2010 12:09:47 +0200 Subject: This commit aims to fix all troubles with favicons retrieving. There is at least just another one about threading. But I'm not 100% sure about. And anyway, it will be eventually addressed after 0.6 release.. --- src/mainview.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mainview.cpp') diff --git a/src/mainview.cpp b/src/mainview.cpp index c9f46e5a..f020fb53 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -321,6 +321,7 @@ WebTab *MainView::newWebTab(bool focused) connect(tab->view(), SIGNAL(loadFinished(bool)), this, SLOT(webViewLoadFinished(bool))); connect(tab->view(), SIGNAL(titleChanged(const QString &)), this, SLOT(webViewTitleChanged(const QString &))); connect(tab->view(), SIGNAL(urlChanged(const QUrl &)), this, SLOT(webViewUrlChanged(const QUrl &))); + connect(tab->view(), SIGNAL(iconChanged()), this, SLOT(webViewIconChanged())); // connecting webPage signals with mainview connect(tab->view()->page(), SIGNAL(windowCloseRequested()), this, SLOT(windowCloseRequested())); @@ -631,6 +632,7 @@ void MainView::previousTab() setCurrentIndex(next); } + void MainView::openClosedTabs() { foreach (const HistoryItem &item, recentlyClosedTabs()) @@ -640,6 +642,7 @@ void MainView::openClosedTabs() m_recentlyClosedTabs.clear(); } + void MainView::openClosedTab() { KAction *action = qobject_cast(sender()); @@ -654,6 +657,7 @@ void MainView::openClosedTab() } } + void MainView::switchToTab() { // uses the sender to determine the tab index @@ -665,6 +669,7 @@ void MainView::switchToTab() setCurrentIndex( index ); } + QLabel *MainView::animatedLoading(int index, bool addMovie) { if (index == -1) -- cgit v1.2.1