From kde-commits Mon Jun 10 11:22:24 2013 From: Arno Rehn Date: Mon, 10 Jun 2013 11:22:24 +0000 To: kde-commits Subject: [smokegen] generators/smoke: use the correct smoke module in parent introspection Message-Id: <20130610112224.665C4A6075 () git ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=137086335609396 Git commit f733bdc13429185934c982fa67619d2c7ea1a3cd by Arno Rehn. Committed on 10/06/2013 at 13:21. Pushed by arnorehn into branch 'master'. use the correct smoke module in parent introspection M +4 -4 generators/smoke/helpers.cpp http://commits.kde.org/smokegen/f733bdc13429185934c982fa67619d2c7ea1a3cd diff --git a/generators/smoke/helpers.cpp b/generators/smoke/helpers.cpp index f6a12e2..201cd94 100644 --- a/generators/smoke/helpers.cpp +++ b/generators/smoke/helpers.cpp @@ -159,17 +159,17 @@ static bool isRepeating(const QList& parentMo= dules, const char* classNam foreach (Smoke* smoke, parentModules) { Smoke::ModuleIndex methodIndex =3D smoke->findMethod(className, mu= ngedName.toLatin1().constData()); if (methodIndex.index) { - Smoke::Index index =3D smoke->methodMaps[methodIndex.index].me= thod; + Smoke::Index index =3D methodIndex.smoke->methodMaps[methodInd= ex.index].method; if (index >=3D 0) { - if (compareArgs(method, smoke->methods[index], smoke)) { + if (compareArgs(method, methodIndex.smoke->methods[index],= methodIndex.smoke)) { return true; } continue; } index =3D -index; Smoke::Index i; - while ((i =3D smoke->ambiguousMethodList[index++]) !=3D 0) { - if (compareArgs(method, smoke->methods[i], smoke)) { + while ((i =3D methodIndex.smoke->ambiguousMethodList[index++])= !=3D 0) { + if (compareArgs(method, methodIndex.smoke->methods[i], met= hodIndex.smoke)) { return true; } }