Properly detect if the instance is vanilla and don't treat it as custom.
This commit is contained in:
parent
fd6706391b
commit
814d5d3315
6 changed files with 23 additions and 2 deletions
|
@ -53,9 +53,18 @@ public: /* methods */
|
|||
{
|
||||
return filename;
|
||||
}
|
||||
virtual bool isCustom()
|
||||
{
|
||||
return !isVanilla;
|
||||
};
|
||||
void setVanilla (bool state)
|
||||
{
|
||||
isVanilla = state;
|
||||
}
|
||||
|
||||
public: /* data */
|
||||
int order = 0;
|
||||
bool isVanilla = false;
|
||||
QString name;
|
||||
QString fileId;
|
||||
QString version;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue