Imported chrome traces show the file name in the title bar

This commit is contained in:
joshuakr 2021-01-21 17:06:55 -08:00
parent 168e511de5
commit 25a95d99c0

View File

@ -512,6 +512,8 @@ Worker::Worker( FileRead& f, EventType::Type eventMask, bool bgTasks )
char tmp[1024];
f.Read( tmp, sz );
m_captureName = std::string( tmp, tmp+sz );
if (m_captureName.empty())
m_captureName = f.GetFilename();
}
{
f.Read( sz );