mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Imported chrome traces show the file name in the title bar
This commit is contained in:
parent
168e511de5
commit
25a95d99c0
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user