blob: a6efc912a7febb58d3c39860637ca442fcc55adc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
From aa233e3b66b675c62a03f1bce793e67b87b732b9 Mon Sep 17 00:00:00 2001
From: Eike Hein <hein@kde.org>
Date: Sat, 22 May 2010 22:01:51 +0200
Subject: [PATCH] Fix close buttons on tabs preference not being respected for top/bottom tabs.
---
src/viewer/viewcontainer.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/viewer/viewcontainer.cpp b/src/viewer/viewcontainer.cpp
index 6207f66..d7b30e6 100644
--- a/src/viewer/viewcontainer.cpp
+++ b/src/viewer/viewcontainer.cpp
@@ -409,7 +409,7 @@ void ViewContainer::updateTabWidgetAppearance()
else
m_tabWidget->cornerWidget()->hide();
- m_tabWidget->tabBar()->setTabsClosable(true);
+ m_tabWidget->tabBar()->setTabsClosable(Preferences::self()->closeButtons());
m_tabWidget->setAutomaticResizeTabs(Preferences::self()->useMaxSizedTabs());
}
--
1.6.1
|