We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d130cee commit 94c1c9bCopy full SHA for 94c1c9b
Compiler/Template/GenerateAPIFunctionsTpl.tpl
@@ -286,8 +286,8 @@ end getQtInArgBoxed;
286
template getQtCommandLogText(Text name, DAE.Type ty)
287
::=
288
match ty
289
- case T_CODE(ty=C_TYPENAME(__))
290
- case T_STRING(__) then '<%name%>'
+ case T_CODE(ty=C_TYPENAME(__)) then '<%name%>'
+ case T_STRING(__) then 'QString("\""+<%name%>+"\"")'
291
case T_INTEGER(__)
292
case T_REAL(__) then 'QString::number(<%name%>)'
293
case T_BOOL(__) then 'QString(<%name%> ? "true" : "false")'
0 commit comments