summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-20 15:00:44 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-20 15:00:44 +0100
commit22d363fd9073cfa75204cb8d05959afcbd849b11 (patch)
treea17e9d5eed1983e5f1331b63f6784391791d11b9
parentwindow title fixes (diff)
parentThe newTab button must be initialized after the tabBar. (diff)
downloadrekonq-22d363fd9073cfa75204cb8d05959afcbd849b11.tar.xz
Merge commit 'refs/merge-requests/93' of git://gitorious.org/rekonq/mainline into mr93
-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