fix ambiguous conversion error

This commit is contained in:
Jan Käberich 2025-12-02 13:50:21 +01:00
parent da1228c9b1
commit fbef4b364f

View file

@ -568,7 +568,7 @@ QString SCPINode::parse(QString cmd, SCPINode* &lastNode)
params.back().append(cmd[i]); params.back().append(cmd[i]);
} else { } else {
// not in quotes, handle splitting by space // not in quotes, handle splitting by space
if(cmd[i] == " ") { if(cmd[i] == ' ') {
if(params.back().length() > 0) if(params.back().length() > 0)
params.append(""); params.append("");
} else { } else {