rev 11411 - in trunk/packages/qt4-x11/debian: . patches

Sune Vuorela pusling-guest at alioth.debian.org
Wed Jul 9 00:51:05 UTC 2008


Author: pusling-guest
Date: 2008-07-09 00:51:05 +0000 (Wed, 09 Jul 2008)
New Revision: 11411

Added:
   trunk/packages/qt4-x11/debian/patches/0003_tab_text_cutoff.diff
Modified:
   trunk/packages/qt4-x11/debian/changelog
   trunk/packages/qt4-x11/debian/patches/series
Log:
Add 0003_tab_text_cutoff.diff patch to fix rendering of text in tabs.
Patch available in qt4.5.

Modified: trunk/packages/qt4-x11/debian/changelog
===================================================================
--- trunk/packages/qt4-x11/debian/changelog	2008-07-09 00:31:31 UTC (rev 11410)
+++ trunk/packages/qt4-x11/debian/changelog	2008-07-09 00:51:05 UTC (rev 11411)
@@ -14,6 +14,8 @@
     by Thiago.
   * Add 0236-qtoolbararealayout-restore.diff to fix a regression in qt4.4.
     Patch from Trolltech.
+  * Add 0003_tab_text_cutoff.diff patch to fix rendering of text in tabs.
+    Patch available in qt4.5.
 
   +++ Changes by Modestas Vainius:
 

Added: trunk/packages/qt4-x11/debian/patches/0003_tab_text_cutoff.diff
===================================================================
--- trunk/packages/qt4-x11/debian/patches/0003_tab_text_cutoff.diff	                        (rev 0)
+++ trunk/packages/qt4-x11/debian/patches/0003_tab_text_cutoff.diff	2008-07-09 00:51:05 UTC (rev 11411)
@@ -0,0 +1,25 @@
+qt-bugs@ issue : N216195
+Trolltech task ID : 216537
+bugs.kde.org number : 162737
+applied: no
+author: Michael Leupold <lemma at 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();

Modified: trunk/packages/qt4-x11/debian/patches/series
===================================================================
--- trunk/packages/qt4-x11/debian/patches/series	2008-07-09 00:31:31 UTC (rev 11410)
+++ trunk/packages/qt4-x11/debian/patches/series	2008-07-09 00:51:05 UTC (rev 11411)
@@ -1,6 +1,7 @@
 # patches from upstream
 0001_webkit_backround_in_scrollbars_webkit-5b0ea6b840a6e25e97b886e1852c3fc6ef8e8d0d.diff
 0002_https_lowercase.cpp
+0003_tab_text_cutoff.diff
 # qt-copy patches
 0167-fix-group-reading.diff
 0180-window-role.diff




More information about the pkg-kde-commits mailing list