Fixed loading mpds with spaces in model names.

This commit is contained in:
leo 2015-02-04 05:24:35 +00:00
parent 4b82e75f5b
commit 93363c1069

View file

@ -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"))