diff --git a/common/lc_model.cpp b/common/lc_model.cpp index aefa214d..ef8950da 100644 --- a/common/lc_model.cpp +++ b/common/lc_model.cpp @@ -100,7 +100,7 @@ void lcModelProperties::ParseLDrawLine(QTextStream& Stream) Stream >> Token; if (Token == QLatin1String("NAME")) - Stream >> mName; + mName = Stream.readAll().trimmed(); else if (Token == QLatin1String("AUTHOR")) Stream >> mAuthor; else if (Token == QLatin1String("DESCRIPTION"))