From 4be88824ae12cc732a1915e728156fb76fafee14 Mon Sep 17 00:00:00 2001 From: wmayer Date: Thu, 3 Sep 2020 19:24:09 +0200 Subject: [PATCH] Gui: fix Qt4 build failure --- src/Gui/SoFCDB.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Gui/SoFCDB.cpp b/src/Gui/SoFCDB.cpp index 471aee3416..5fe4b7762b 100644 --- a/src/Gui/SoFCDB.cpp +++ b/src/Gui/SoFCDB.cpp @@ -517,12 +517,7 @@ void Gui::SoFCDB::writeX3DFields(SoNode* node, std::map& n if (field->isOfType(SoMField::getClassTypeId())) { ba.replace('[', ' '); ba.replace(']', ' '); - QList 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() << "\" ";