diff options
Diffstat (limited to 'debian/patches/0003_tab_text_cutoff.diff')
-rw-r--r-- | debian/patches/0003_tab_text_cutoff.diff | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/0003_tab_text_cutoff.diff b/debian/patches/0003_tab_text_cutoff.diff new file mode 100644 index 0000000..9f90b9b --- /dev/null +++ b/debian/patches/0003_tab_text_cutoff.diff @@ -0,0 +1,25 @@ +qt-bugs@ issue : N216195 +Trolltech task ID : 216537 +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). + +More info here. +http://lists.kde.org/?l=kde-core-devel&m=121526335523921&w=2 +It might very well very soon be a qtcopy patch +Index: b/src/gui/widgets/qtabbar.cpp +=================================================================== +--- a/src/gui/widgets/qtabbar.cpp ++++ b/src/gui/widgets/qtabbar.cpp +@@ -1084,7 +1084,7 @@ + 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(); |