summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-03-16 15:45:45 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-03-16 15:45:45 +0100
commit84a93ab8a47c8e4546ae658b5400623cdccfe237 (patch)
treea320e2ba559bc5a4696e882cbc9e11796a4e1ab5 /src/mainview.cpp
parentAdded some warning (diff)
downloadrekonq-84a93ab8a47c8e4546ae658b5400623cdccfe237.tar.xz
updated rekonq site
fixed tab actions.. really near rekonq 0.0.4! Perhaps this night!!
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 9e23ae2d..d7e07e14 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -39,6 +39,7 @@
#include <KStandardShortcut>
#include <KMessageBox>
#include <KActionCollection>
+#include <KDebug>
// Qt Includes
#include <QtCore>
@@ -55,7 +56,7 @@ MainView::MainView(QWidget *parent)
, m_lineEdits(new QStackedWidget(this))
, m_tabBar(new TabBar(this))
{
- setElideMode(Qt::ElideRight);
+ setTabBar(m_tabBar);
connect(m_tabBar, SIGNAL(newTab()), this, SLOT(newTab()));
connect(m_tabBar, SIGNAL(closeTab(int)), this, SLOT(closeTab(int)));
@@ -64,7 +65,6 @@ MainView::MainView(QWidget *parent)
connect(m_tabBar, SIGNAL(reloadTab(int)), this, SLOT(reloadTab(int)));
connect(m_tabBar, SIGNAL(reloadAllTabs()), this, SLOT(reloadAllTabs()));
connect(m_tabBar, SIGNAL(tabMoveRequested(int, int)), this, SLOT(moveTab(int, int)));
- setTabBar(m_tabBar);
// Recently Closed Tab Action
m_recentlyClosedTabsMenu = new KMenu(this);