Gui: fix Qt4 build failure

This commit is contained in:
wmayer
2020-09-03 19:24:09 +02:00
parent 904ff6f7e1
commit 4be88824ae

View File

@@ -517,12 +517,7 @@ void Gui::SoFCDB::writeX3DFields(SoNode* node, std::map<SoNode*, std::string>& n
if (field->isOfType(SoMField::getClassTypeId())) {
ba.replace('[', ' ');
ba.replace(']', ' ');
QList<QByteArray> ary = ba.split(',');
for (auto& it : ary) {
it = it.simplified();
}
ba = ary.join(", ");
ba = ba.simplified();
}
out << '\n' << Base::blanks(spaces+2) << fielddata->getFieldName(i).getString() << "=\"" << ba.data() << "\" ";