[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebindings/smoke/smokeapi
From:       Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date:       2010-01-31 14:21:55
Message-ID: 1264947715.165730.16776.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1083023 by rdale:

* If a method is in a namespace, don't add a 'static' qualifier


 M  +3 -1      main.cpp  


--- trunk/KDE/kdebindings/smoke/smokeapi/main.cpp #1083022:1083023
@@ -91,7 +91,9 @@
         result.append("virtual ");
     }
     
-    if ((methodRef.flags & Smoke::mf_static) != 0) {
+    if (	(methodRef.flags & Smoke::mf_static) != 0
+            && (smoke->classes[methodRef.classId].flags & Smoke::cf_namespace) == 0 )
+    {
         result.append("static ");
     }
     
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic