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

List:       kde-commits
Subject:    branches/KDE/4.4/kdebindings/generator/generators/smoke
From:       Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date:       2010-01-28 11:57:58
Message-ID: 1264679878.059008.23748.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1081457 by rdale:

* External classes were not being included in the up casts. Fixes problem with
the KParts::MainWindow::actionCollection() method call reported by Stefano
Crocco
* The same fix is probably needed for down casts too



 M  +1 -1      writeSmokeDataFile.cpp  


--- branches/KDE/4.4/kdebindings/generator/generators/smoke/writeSmokeDataFile.cpp #1081456:1081457
@@ -132,7 +132,7 @@
         foreach (const Class* base, Util::superClassList(&klass)) {
             QString className = base->toString();
             
-            if (includedClasses.contains(className)) {
+            if (includedClasses.contains(className) || externalClasses.contains((Class *) base)) {
                 int index = classIndex[className];
                 if (indices.contains(index))
                     continue;
[prev in list] [next in list] [prev in thread] [next in thread] 

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