Allow overriding the order in which patches are applied

This commit is contained in:
Jan Dalheimer 2014-02-08 17:22:26 +01:00
parent 6d9819cccf
commit 53069205fa
7 changed files with 240 additions and 0 deletions

View file

@ -81,6 +81,15 @@ bool OneSixVersion::canRemove(const int index) const
return false;
}
QString OneSixVersion::versionFileId(const int index) const
{
if (index < 0 || index >= versionFiles.size())
{
return QString();
}
return versionFiles.at(index).id;
}
bool OneSixVersion::remove(const int index)
{
if (canRemove(index))