┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-04-14 20:19:17 +0000
committerPeter Penz <[email protected]>2008-04-14 20:19:17 +0000
commit8cb8b519099e2d8bc86a574e014fc3cd780acfa8 (patch)
tree3182f54740b3f084e9fb785ec8f7edab49240c28
parent46f6908b7e9e717f9f163eabee43a91a2f508e2f (diff)
let Dolphin use the new tab-close-buttons
svn path=/trunk/KDE/kdebase/apps/; revision=797061
-rw-r--r--src/dolphinmainwindow.cpp5
1 files 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);