summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 95d3565a..accc4d16 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -83,7 +83,7 @@ MainView::MainView(QWidget *parent)
#if KDE_IS_VERSION(4,2,60)
setTabsClosable(true); // this causes #23 on KDE 4.2
#else
- setCloseButtonEnabled(oneCloseButton); // this is deprecated, remove
+ setCloseButtonEnabled(true); // this is deprecated, remove
#endif
connect(m_tabBar, SIGNAL(tabCloseRequested(int)),this, SLOT(slotCloseTab(int)));