Set analytics APIs for remote capture file and replay

The API used was not populated for the case of remote
capture and replay.
This commit is contained in:
Aliya Pazylbekova
2019-06-20 19:13:57 +01:00
committed by Baldur Karlsson
parent 4923aa9d88
commit e21ddb4877
5 changed files with 56 additions and 13 deletions
+5
View File
@@ -939,6 +939,11 @@ void CaptureContext::LoadCaptureThreaded(const QString &captureFile, const QStri
bytebuf buf = access->GetSectionContents(idx);
LoadNotes(QString::fromUtf8((const char *)buf.data(), buf.count()));
}
QString driver = access->DriverName();
if(!driver.isEmpty())
{
ANALYTIC_ADDUNIQ(APIs, driver);
}
}
m_LoadInProgress = false;