From 8cb8b519099e2d8bc86a574e014fc3cd780acfa8 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 14 Apr 2008 20:19:17 +0000 Subject: [PATCH] let Dolphin use the new tab-close-buttons svn path=/trunk/KDE/kdebase/apps/; revision=797061 --- src/dolphinmainwindow.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 2de0f29a7..f64f847fe 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -769,12 +769,11 @@ void DolphinMainWindow::init() m_actionHandler->setCurrentView(view); m_tabBar = new KTabBar(this); - m_tabBar->setHoverCloseButton(true); - m_tabBar->setHoverCloseButtonDelayed(false); + m_tabBar->setCloseButtonEnabled(true); connect(m_tabBar, SIGNAL(currentChanged(int)), this, SLOT(setActiveTab(int))); connect(m_tabBar, SIGNAL(closeRequest(int)), - this, SLOT(closeTab(int))); + this, SLOT(closeTab(int))); m_tabBar->blockSignals(true); // signals get unblocked after at least 2 tabs are open QWidget* centralWidget = new QWidget(this); -- 2.47.3