From 5f0e4fe5fabd7ca49cb7d6cb54dc6e903fffbf74 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 29 Sep 2010 22:11:37 +0200 Subject: Clean up urlbar use. This fix an urlbar bug opening plugins in next tabs and remove some Application::instance() calls from the Web* classes. --- src/webtab.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/webtab.cpp') diff --git a/src/webtab.cpp b/src/webtab.cpp index cce09953..c525ac00 100644 --- a/src/webtab.cpp +++ b/src/webtab.cpp @@ -33,6 +33,7 @@ #include "rekonq.h" // Local Includes +#include "urlbar.h" #include "previewselectorbar.h" #include "rsswidget.h" #include "walletbar.h" @@ -48,7 +49,8 @@ WebTab::WebTab(QWidget *parent) : QWidget(parent) , _view(new WebView(this)) - , m_progress(0) + , _bar(new UrlBar(this)) + , _progress(0) { setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); @@ -110,14 +112,14 @@ KUrl WebTab::url() void WebTab::updateProgress(int p) { - m_progress = p; + _progress = p; emit loadProgressing(); } void WebTab::loadFinished(bool) { - m_progress = 0; + _progress = 0; } -- cgit v1.2.1