summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/generator
diff options
context:
space:
mode:
Diffstat (limited to 'qtsharp/src/generator')
-rw-r--r--qtsharp/src/generator/Printer.cs2
1 files changed, 1 insertions, 1 deletions
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 "";
}