mirror of
https://github.com/leozide/leocad
synced 2024-11-17 07:47:55 +01:00
Fixed spaces being added to model properties fields.
This commit is contained in:
parent
c0167e2dd0
commit
85cb751f3e
1 changed files with 3 additions and 3 deletions
|
@ -101,12 +101,12 @@ void lcModelProperties::ParseLDrawLine(QTextStream& Stream)
|
|||
Stream >> Token;
|
||||
|
||||
if (Token == QLatin1String("AUTHOR"))
|
||||
mAuthor = Stream.readLine();
|
||||
mAuthor = Stream.readLine().mid(1);
|
||||
else if (Token == QLatin1String("DESCRIPTION"))
|
||||
mDescription = Stream.readLine();
|
||||
mDescription = Stream.readLine().mid(1);
|
||||
else if (Token == QLatin1String("COMMENT"))
|
||||
{
|
||||
QString Comment = Stream.readLine();
|
||||
QString Comment = Stream.readLine().mid(1);
|
||||
if (!mComments.isEmpty())
|
||||
mComments += '\n';
|
||||
mComments += Comment;
|
||||
|
|
Loading…
Reference in a new issue