From a0b27fd9c8cec145c8c16d0ab5f99d030ced7fb8 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 27 Jan 2013 01:47:55 +0100 Subject: Fix tab when showing a kpart. Let also see title where needed --- src/urlbar/urlbar.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/urlbar') diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp index cd6a5605..f8d9f2ff 100644 --- a/src/urlbar/urlbar.cpp +++ b/src/urlbar/urlbar.cpp @@ -52,7 +52,6 @@ #include "webtab.h" #include "webpage.h" -#include "webview.h" #include "searchengine.h" #include "websnap.h" @@ -151,10 +150,10 @@ UrlBar::UrlBar(QWidget *parent) connect(_tab, SIGNAL(loadProgressing()), this, SLOT(update())); - connect(_tab->view(), SIGNAL(urlChanged(QUrl)), this, SLOT(setQUrl(QUrl))); - connect(_tab->view(), SIGNAL(loadFinished(bool)), this, SLOT(loadFinished())); - connect(_tab->view(), SIGNAL(loadStarted()), this, SLOT(clearRightIcons())); - connect(_tab->view(), SIGNAL(iconChanged()), this, SLOT(refreshFavicon())); + connect(_tab, SIGNAL(urlChanged(QUrl)), this, SLOT(setQUrl(QUrl))); + connect(_tab, SIGNAL(loadFinished(bool)), this, SLOT(loadFinished())); + connect(_tab, SIGNAL(loadStarted()), this, SLOT(clearRightIcons())); + connect(_tab, SIGNAL(iconChanged()), this, SLOT(refreshFavicon())); // bookmark icon connect(BookmarkManager::self(), SIGNAL(bookmarksUpdated()), this, SLOT(updateRightIcons())); -- cgit v1.2.1