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

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

SVN commit 1081455 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

CCMAIL: kde-bindings@kde.org


 M  +1 -1      writeSmokeDataFile.cpp  


--- trunk/KDE/kdebindings/generator/generators/smoke/writeSmokeDataFile.cpp #1081454:1081455
@@ -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