From: Peter Penz Date: Mon, 14 Apr 2008 20:19:17 +0000 (+0000) Subject: let Dolphin use the new tab-close-buttons X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/8cb8b519099e2d8bc86a574e014fc3cd780acfa8?ds=sidebyside let Dolphin use the new tab-close-buttons svn path=/trunk/KDE/kdebase/apps/; revision=797061 --- 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);