diff options
Diffstat (limited to 'qtsharp/src/generator/ParseAPI.cs')
-rw-r--r-- | qtsharp/src/generator/ParseAPI.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qtsharp/src/generator/ParseAPI.cs b/qtsharp/src/generator/ParseAPI.cs index c6a86182..565baf52 100644 --- a/qtsharp/src/generator/ParseAPI.cs +++ b/qtsharp/src/generator/ParseAPI.cs @@ -72,13 +72,13 @@ namespace QtCSharp { private static bool IsTQObject(TQType t, Hashtable typehash) { if (t.IsInterface) return false; - if (t.Name == "TTQObject") return true; + if (t.Name == "TQObject") return true; foreach (TQAncestor a in t.TQAncestors) { TQType at = (TQType)typehash[a.Name]; if (at == null) continue; - else if (at.Name == "TTQObject") + else if (at.Name == "TQObject") return true; else if (IsTQObject(at, typehash)) return true; |