1
0
mirror of synced 2024-11-25 00:00:27 +01:00

ux: Make uncompiled magic files be compiled when analyzing files

This commit is contained in:
WerWolv 2021-12-03 21:07:07 +01:00
parent e720b61df6
commit 5a2e2b1773

View File

@ -96,6 +96,8 @@ namespace hex {
} }
{ {
magic::compile();
this->m_fileDescription = magic::getDescription(provider); this->m_fileDescription = magic::getDescription(provider);
this->m_mimeType = magic::getMIMEType(provider); this->m_mimeType = magic::getMIMEType(provider);
this->m_dataValid = true; this->m_dataValid = true;