summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2010-02-20 12:52:20 +0100
committerYoann Laissus <yoann.laissus@gmail.com>2010-02-20 12:52:20 +0100
commitcdb535abac3fed5893117acefaaac392f4209ad1 (patch)
tree2c4def9267812f2193d06d8e04ec46d1c7c633c3 /src
parentchange setHtml( string ) to setHtml( string, url ) to let webviews (diff)
downloadrekonq-cdb535abac3fed5893117acefaaac392f4209ad1.tar.xz
The newTab button must be initialized after the tabBar.
(Fix the regression introduced by b0ef8fdaa1f36f144980f9df30707deb7a076403)
Diffstat (limited to 'src')
-rw-r--r--src/mainview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 98d8b0a6..cfce0fb0 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -65,12 +65,12 @@
MainView::MainView(MainWindow *parent)
: KTabWidget(parent)
, m_urlBar(new UrlBar(this))
- , m_addTabButton(new QToolButton(this))
, m_currentTabIndex(0)
, m_parentWindow(parent)
{
// setting tabbar
TabBar *tabBar = new TabBar(this);
+ m_addTabButton = new QToolButton(this);
setTabBar(tabBar);
// set mouse tracking for tab previews