GUI: Fix statistics

This commit is contained in:
Daniel Marjamäki 2017-08-11 08:08:30 +02:00
parent ad82f49ae2
commit c624fc2057
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ void ResultsView::saveStatistics(const QString &filename) const
return;
QTextStream ts(&f);
ts << '[' << QDate::currentDate().toString("dd.MM.yyyy") << "]\n";
ts << QDateTime::currentMSecsSinceEpoch() + '\n';
ts << QDateTime::currentMSecsSinceEpoch() << '\n';
foreach (QString tool, mStatistics->getTools()) {
ts << tool << "-error:" << mStatistics->getCount(tool, ShowTypes::ShowErrors) << '\n';
ts << tool << "-warning:" << mStatistics->getCount(tool, ShowTypes::ShowWarnings) << '\n';