diff tools/duic/d/dwriteinitialization.cpp @ 82:420f2aab9ab6

temporary fix for "::" in duic for all types
author eldar
date Sun, 24 May 2009 17:07:11 +0000
parents 3d465c0a4f98
children c64698c80409
line wrap: on
line diff
--- a/tools/duic/d/dwriteinitialization.cpp	Sun May 24 15:45:33 2009 +0000
+++ b/tools/duic/d/dwriteinitialization.cpp	Sun May 24 17:07:11 2009 +0000
@@ -1177,7 +1177,6 @@
                 scope += QLatin1String("::");
                 propertyValue.prepend(scope);
             }
-            propertyValue = propertyValue.replace("::", "."); // qtd
             break;
         case DomProperty::Set:
             propertyValue = p->elementSet();
@@ -1354,6 +1353,8 @@
         case DomProperty::Unknown:
             break;
         }
+        
+        propertyValue = propertyValue.replace("::", "."); // qtd
 
         if (propertyValue.size()) {
             const char* defineC = 0;