Author: djurban                      Date: Thu Sep 15 18:38:33 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix uic errors on UI files with classes with :: in them, patch by Aaron Seigo

---- Files affected:
SOURCES:
   qt-uic_colon_fix.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/qt-uic_colon_fix.patch
diff -u /dev/null SOURCES/qt-uic_colon_fix.patch:1.1
--- /dev/null   Thu Sep 15 20:38:33 2005
+++ SOURCES/qt-uic_colon_fix.patch      Thu Sep 15 20:38:28 2005
@@ -0,0 +1,18 @@
+Index: tools/designer/uic/form.cpp
+===================================================================
+--- tools/designer/uic/form.cpp        (revision 460038)
++++ tools/designer/uic/form.cpp        (working copy)
+@@ -731,6 +731,13 @@
+             while ( !n2.isNull() ) {
+                 if ( n2.tagName() == "includehint" ) {
+                     QString file = n2.firstChild().toText().data();
++                    int colons = file.find("::");
++
++                    if (colons != -1)
++                    {
++                        file = file.right(file.length() - colons - 2);
++                    }
++
+                     localIncludes += file;
+                 }
+                 n2 = n2.nextSibling().toElement();
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to