--- a/src/documentloader.cpp Thu Feb 23 20:06:22 2017 +0200 +++ b/src/documentloader.cpp Thu Feb 23 20:18:39 2017 +0200 @@ -118,7 +118,7 @@ // Check for parse errors and warn about them if (obj->type() == LDObjectType::Error) { - print ("Couldn't parse line #%1: %2", progress() + 1, static_cast<LDError*> (obj)->reason()); + emit parseErrorMessage(format(tr("Couldn't parse line #%1: %2"), progress() + 1, static_cast<LDError*> (obj)->reason())); ++m_warningCount; } } @@ -151,4 +151,4 @@ void DocumentLoader::abort() { m_hasAborted = true; -} \ No newline at end of file +}