minor fix

This commit is contained in:
therecipe 2019-09-30 18:07:06 +02:00
parent 9c4a28ad5b
commit d11e9c4c9c

View file

@ -70,6 +70,7 @@ func goFunctionBody(function *parser.Function) string {
converter.GoHeaderInput(function),
converter.GoHeaderOutput(function),
)
}
if utils.QT_FELGO() && class.IsSubClassOf("QCoreApplication") && function.Name == "exec" {
fmt.Fprintf(bb, "defer New%[1]vFromPointer(%[2]vQCoreApplication_Instance().Pointer()).Destroy%[1]v()\n",
class.Name,