feat: add method to delete mod metadata

Also moves indexDir setting from LocalModUpdateTask -> ModFolderModel
This commit is contained in:
flow
2022-04-14 22:02:41 -03:00
committed by flow
parent 8e4438b375
commit e93b9560b5
5 changed files with 48 additions and 17 deletions

View File

@ -108,11 +108,16 @@ public:
bool isValid();
QDir dir()
QDir& dir()
{
return m_dir;
}
QDir indexDir()
{
return { QString("%1/.index").arg(dir().absolutePath()) };
}
const QList<Mod> & allMods()
{
return mods;