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

Fathi Boudra fabo at alioth.debian.org
Sun Apr 26 18:54:01 UTC 2009


Author: fabo
Date: 2009-04-26 18:54:01 +0000 (Sun, 26 Apr 2009)
New Revision: 14504

Added:
   trunk/packages/qt4-x11/debian/patches/21_fix_quiloader_wrong_header_translated.diff
Modified:
   trunk/packages/qt4-x11/debian/changelog
   trunk/packages/qt4-x11/debian/patches/series
Log:
Add patch to fix quiloader wrong header translated.


Modified: trunk/packages/qt4-x11/debian/changelog
===================================================================
--- trunk/packages/qt4-x11/debian/changelog	2009-04-26 17:41:16 UTC (rev 14503)
+++ trunk/packages/qt4-x11/debian/changelog	2009-04-26 18:54:01 UTC (rev 14504)
@@ -4,6 +4,10 @@
     - Build with -opensource configure option to avoid Qt edition question
       triggered on some build setups caused by a bug in configure script.
       (Closes: #525570)
+  * Add patches:
+    - 21_fix_quiloader_wrong_header_translated.diff
+      The header of the QTableWidgets loaded with QUiLoader are not
+      translated when the language change. This patch fix the issue.
 
  -- Fathi Boudra <fabo at debian.org>  Sat, 25 Apr 2009 18:52:20 +0200
 

Added: trunk/packages/qt4-x11/debian/patches/21_fix_quiloader_wrong_header_translated.diff
===================================================================
--- trunk/packages/qt4-x11/debian/patches/21_fix_quiloader_wrong_header_translated.diff	                        (rev 0)
+++ trunk/packages/qt4-x11/debian/patches/21_fix_quiloader_wrong_header_translated.diff	2009-04-26 18:54:01 UTC (rev 14504)
@@ -0,0 +1,14 @@
+--- a/tools/designer/src/uitools/quiloader.cpp
++++ b/tools/designer/src/uitools/quiloader.cpp
+@@ -259,9 +259,9 @@ public:
+                 const int row_cnt = tablew->rowCount();
+                 const int col_cnt = tablew->columnCount();
+                 for (int j = 0; j < col_cnt; ++j)
+-                    reTranslateTableItem(tablew->verticalHeaderItem(j), m_className);
++                    reTranslateTableItem(tablew->horizontalHeaderItem(j), m_className);
+                 for (int i = 0; i < row_cnt; ++i) {
+-                    reTranslateTableItem(tablew->horizontalHeaderItem(i), m_className);
++                    reTranslateTableItem(tablew->verticalHeaderItem(i), m_className);
+                     for (int j = 0; j < col_cnt; ++j)
+                         reTranslateTableItem(tablew->item(i, j), m_className);
+                 }

Modified: trunk/packages/qt4-x11/debian/patches/series
===================================================================
--- trunk/packages/qt4-x11/debian/patches/series	2009-04-26 17:41:16 UTC (rev 14503)
+++ trunk/packages/qt4-x11/debian/patches/series	2009-04-26 18:54:01 UTC (rev 14504)
@@ -25,6 +25,7 @@
 17_add_postgresql_8.3_support.diff
 18_enable_qt3support_qtwebkit_debug_info.diff
 19_install_qdoc3.diff
+21_fix_quiloader_wrong_header_translated.diff
 30_webkit_unaligned_access.diff
 40_alpha_ice.diff
 41_disable_opengl_visibility.diff




More information about the pkg-kde-commits mailing list