Magellan Linux

Annotation of /trunk/qt/patches/qt-3.3.8-uic-fix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (hide annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years, 1 month ago) by niro
File size: 711 byte(s)
-import

1 niro 153 Index: tools/designer/uic/form.cpp
2     ===================================================================
3     --- tools/designer/uic/form.cpp (revision 460038)
4     +++ tools/designer/uic/form.cpp (working copy)
5     @@ -731,6 +731,13 @@
6     while ( !n2.isNull() ) {
7     if ( n2.tagName() == "includehint" ) {
8     QString file = n2.firstChild().toText().data();
9     + int colons = file.find("::");
10     +
11     + if (colons != -1)
12     + {
13     + file = file.right(file.length() - colons - 2);
14     + }
15     +
16     localIncludes += file;
17     }
18     n2 = n2.nextSibling().toElement();