summaryrefslogtreecommitdiff
path: root/debian/patches/0238-fix-qt-qttabbar-size.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0238-fix-qt-qttabbar-size.diff')
-rw-r--r--debian/patches/0238-fix-qt-qttabbar-size.diff20
1 files changed, 0 insertions, 20 deletions
diff --git a/debian/patches/0238-fix-qt-qttabbar-size.diff b/debian/patches/0238-fix-qt-qttabbar-size.diff
deleted file mode 100644
index 8b35ab0..0000000
--- a/debian/patches/0238-fix-qt-qttabbar-size.diff
+++ /dev/null
@@ -1,20 +0,0 @@
-qt-bugs@ issue : N216195
-Trolltech task ID : 216537 (Applied in Qt 4.5)
-bugs.kde.org number : 162737
-applied: no
-author: Michael Leupold <lemma@confuego.org>
-
-This patch fixes some characters in a tabbar being cut-off due
-to a wrong size hint (visible if using a kstyle).
-
---- a/src/gui/widgets/qtabbar.cpp
-+++ b/src/gui/widgets/qtabbar.cpp
-@@ -1078,7 +1078,7 @@ QSize QTabBar::tabSizeHint(int index) co
- QStyleOptionTabV2 opt;
- initStyleOption(&opt, index);
- opt.text = d->tabList.at(index).text;
-- QSize iconSize = tab->icon.isNull() ? QSize() : opt.iconSize;
-+ QSize iconSize = tab->icon.isNull() ? QSize(0, 0) : opt.iconSize;
- int hframe = style()->pixelMetric(QStyle::PM_TabBarTabHSpace, &opt, this);
- int vframe = style()->pixelMetric(QStyle::PM_TabBarTabVSpace, &opt, this);
- const QFontMetrics fm = fontMetrics();