summaryrefslogtreecommitdiff
path: root/src/webtab.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-19 12:37:46 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-19 12:37:46 +0100
commit060909220bad6842828f2583213dc96c285b5fd9 (patch)
treeff6d855a17aff7ac26b31e48b1adbd69142e3178 /src/webtab.cpp
parentSave memory. (diff)
downloadrekonq-060909220bad6842828f2583213dc96c285b5fd9.tar.xz
change setHtml( string ) to setHtml( string, url ) to let webviews
return an url on webview->url() calls
Diffstat (limited to 'src/webtab.cpp')
-rw-r--r--src/webtab.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/webtab.cpp b/src/webtab.cpp
index 9dea9a72..4172103b 100644
--- a/src/webtab.cpp
+++ b/src/webtab.cpp
@@ -60,7 +60,7 @@
#include <QVBoxLayout>
-WebTab::WebTab(QWidget* parent)
+WebTab::WebTab(QWidget *parent)
: QWidget(parent)
, m_view( new WebView(this) )
, m_progress(0)
@@ -68,15 +68,15 @@ WebTab::WebTab(QWidget* parent)
// fix focus handling
setFocusProxy( m_view );
- QVBoxLayout* l = new QVBoxLayout(this);
+ QVBoxLayout *l = new QVBoxLayout(this);
l->setMargin(0);
l->setSpacing(0);
- QWidget* messageBar = new QWidget(this);
+ QWidget *messageBar = new QWidget(this);
l->addWidget(messageBar);
messageBar->setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Minimum);
- QVBoxLayout* l2 = new QVBoxLayout(messageBar);
+ QVBoxLayout *l2 = new QVBoxLayout(messageBar);
l2->setMargin(0);
l2->setSpacing(0);