Fixes double prefixing during model import (#1398)

This commit is contained in:
sunn
2018-11-09 16:49:47 +01:00
committed by GitHub
parent 93e2fc6355
commit 0ed02c8e91

View File

@@ -253,7 +253,7 @@ public class CppQt5ClientCodegen extends AbstractCppCodegen implements CodegenCo
if (!folder.isEmpty())
folder += File.separator;
return "#include \"" + folder + toModelName(name) + ".h\"";
return "#include \"" + folder + sanitizeName(name) + ".h\"";
}
/**