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 57569c7b..a79a8ab9 100644 --- a/qtsharp/src/generator/ParseAPI.cs +++ b/qtsharp/src/generator/ParseAPI.cs @@ -72,13 +72,13 @@ namespace QtCSharp { private static bool IsQObject(QType t, Hashtable typehash) { if (t.IsInterface) return false; - if (t.Name == "QObject") return true; + if (t.Name == "TQObject") return true; foreach (QAncestor a in t.QAncestors) { QType at = (QType)typehash[a.Name]; if (at == null) continue; - else if (at.Name == "QObject") + else if (at.Name == "TQObject") return true; else if (IsQObject(at, typehash)) return true; |