diff --git a/qtsharp/src/generator/Printer.cs b/qtsharp/src/generator/Printer.cs index cdf705fe..e6243250 100644 --- a/qtsharp/src/generator/Printer.cs +++ b/qtsharp/src/generator/Printer.cs @@ -226,7 +226,7 @@ namespace QtCSharp { { if (check) return "\n\n\t\t\tif ((qparent = parent) != null)\n" + - "\t\t\t\tqparent.AddChild (this);\n"; + "\t\t\t\parent.AddChild (this);\n"; else return ""; }