Show texture/resource packs when appropriate.

This commit is contained in:
Petr Mrázek
2014-06-08 20:11:09 +02:00
parent 223a7aba7b
commit bf7b070508
10 changed files with 141 additions and 102 deletions

View File

@@ -80,6 +80,11 @@ public:
return false;
}
virtual QSet<QString> traits()
{
return {"legacy-instance", "texturepacks"};
};
virtual bool shouldUpdate() const override;
virtual void setShouldUpdate(bool val) override;
virtual std::shared_ptr<Task> doUpdate() override;