Sat, 03 Mar 2018 17:57:35 +0200
removed LDError::fileReferenced
src/linetypes/modelobject.cpp | file | annotate | diff | comparison | revisions | |
src/linetypes/modelobject.h | file | annotate | diff | comparison | revisions |
--- a/src/linetypes/modelobject.cpp Sat Mar 03 17:56:49 2018 +0200 +++ b/src/linetypes/modelobject.cpp Sat Mar 03 17:57:35 2018 +0200 @@ -406,16 +406,6 @@ return m_contents; } -QString LDError::fileReferenced() const -{ - return m_fileReferenced; -} - -void LDError::setFileReferenced (QString value) -{ - m_fileReferenced = value; -} - LDBfc::LDBfc (const BfcStatement type, Model* model) : LDObject {model}, m_statement {type} {}
--- a/src/linetypes/modelobject.h Sat Mar 03 17:56:49 2018 +0200 +++ b/src/linetypes/modelobject.h Sat Mar 03 17:57:35 2018 +0200 @@ -152,8 +152,6 @@ virtual QString asText() const override; QString reason() const; QString contents() const; - QString fileReferenced() const; - void setFileReferenced (QString value); QString objectListText() const override; bool isColored() const override { return false; } QString typeName() const override { return "error"; } @@ -164,7 +162,6 @@ LDError (QString contents, QString reason, Model* model = nullptr); private: - QString m_fileReferenced; // If this error was caused by inability to open a file, what file was that? QString m_contents; // The LDraw code that was being parsed QString m_reason; };