summaryrefslogtreecommitdiff
path: root/src/webtab.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-09-29 22:11:37 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-09-29 22:11:37 +0200
commit5f0e4fe5fabd7ca49cb7d6cb54dc6e903fffbf74 (patch)
tree52c3f6c744d1b71f8bd65ced265b4ce7633fabd0 /src/webtab.cpp
parentsearch --> opensearch dir (diff)
downloadrekonq-5f0e4fe5fabd7ca49cb7d6cb54dc6e903fffbf74.tar.xz
Clean up urlbar use. This fix an urlbar bug opening plugins
in next tabs and remove some Application::instance() calls from the Web* classes.
Diffstat (limited to 'src/webtab.cpp')
-rw-r--r--src/webtab.cpp8
1 files changed, 5 insertions, 3 deletions
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;
}