From 85cb751f3ecffbe62a1be6ef315d417d6e8ae0df Mon Sep 17 00:00:00 2001 From: leo Date: Sat, 11 Apr 2015 17:26:17 +0000 Subject: [PATCH] Fixed spaces being added to model properties fields. --- common/lc_model.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/lc_model.cpp b/common/lc_model.cpp index b86cf2f3..cb85638a 100644 --- a/common/lc_model.cpp +++ b/common/lc_model.cpp @@ -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;