Change the OneSix library view. It now shows a list of patches.
This commit is contained in:
parent
556d8f0ec1
commit
4a9e213238
10 changed files with 183 additions and 49 deletions
|
@ -319,8 +319,9 @@ bool OneSixInstance::shouldUpdate() const
|
|||
bool OneSixInstance::versionIsCustom()
|
||||
{
|
||||
QDir patches(PathCombine(instanceRoot(), "patches/"));
|
||||
return QFile::exists(PathCombine(instanceRoot(), "custom.json"))
|
||||
|| (patches.exists() && patches.count() >= 0);
|
||||
return (patches.exists() && patches.count() >= 0)
|
||||
|| QFile::exists(PathCombine(instanceRoot(), "custom.json"))
|
||||
|| QFile::exists(PathCombine(instanceRoot(), "user.json"));
|
||||
}
|
||||
|
||||
QString OneSixInstance::currentVersionId() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue