NOISSUE remove Flame manifest on import

This prevents treating the instance as a Flame pack later.
This commit is contained in:
Petr Mrázek 2017-09-26 01:37:50 +02:00
parent f26ca143c4
commit 678c7ab271

View File

@ -191,6 +191,7 @@ void InstanceImportTask::processFlame()
{ {
QString configPath = FS::PathCombine(m_stagingPath, "manifest.json"); QString configPath = FS::PathCombine(m_stagingPath, "manifest.json");
Flame::loadManifest(pack, configPath); Flame::loadManifest(pack, configPath);
QFile::remove(configPath);
} }
catch (JSONValidationError & e) catch (JSONValidationError & e)
{ {