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
+1 -5
View File
@@ -663,7 +663,7 @@ void MainWindow::LoadCapture(const QString &filename, bool temporary, bool local
return;
}
driver = QString::fromUtf8(file->DriverName());
driver = file->DriverName();
machineIdent = QString::fromUtf8(file->RecordedMachineIdent());
support = file->LocalReplaySupport();
@@ -796,10 +796,6 @@ void MainWindow::LoadCapture(const QString &filename, bool temporary, bool local
{
ANALYTIC_SET(UIFeatures.ImageViewer, true);
}
else if(!driver.isEmpty())
{
ANALYTIC_ADDUNIQ(APIs, driver);
}
m_Ctx.LoadCapture(fileToLoad, origFilename, temporary, local);
}