GH-575 clean up ModList - remove all legacy and obsolete parts

This commit is contained in:
Petr Mrázek
2016-04-04 01:30:37 +02:00
parent 12413f722d
commit 67b22c8105
3 changed files with 12 additions and 357 deletions

View File

@ -145,12 +145,10 @@ void ModFolderPage::on_addModBtn_clicked()
this->parentWidget());
if (!list.empty())
{
m_mods->stopWatching();
for (auto filename : list)
{
m_mods->installMod(filename);
}
m_mods->startWatching();
}
}
@ -161,9 +159,7 @@ void ModFolderPage::on_rmModBtn_clicked()
if (!lastfirst(list, first, last))
return;
m_mods->stopWatching();
m_mods->deleteMods(first, last);
m_mods->startWatching();
}
void ModFolderPage::on_viewModBtn_clicked()