ui: Update error count while parsing

This commit is contained in:
Eberhard Graether
2016-01-28 13:19:38 +01:00
parent 38f943e8a0
commit 635f6058c6
6 changed files with 19 additions and 9 deletions
+5 -1
View File
@@ -165,6 +165,10 @@ void Storage::logStats() const
void Storage::startParsing()
{
MessageShowErrors msg(getErrorCount());
msg.setSendAsTask(false);
msg.dispatch();
m_sqliteStorage.setVersion(Version::getApplicationVersion());
}
@@ -199,7 +203,7 @@ void Storage::onError(const ParseLocation& location, const std::string& message)
if (errorCount != getErrorCount())
{
MessageShowErrors msg;
MessageShowErrors msg(getErrorCount());
msg.setSendAsTask(false);
msg.dispatch();
}