Properly detect if the instance is vanilla and don't treat it as custom.

This commit is contained in:
Petr Mrázek
2014-08-11 02:17:48 +02:00
parent fd6706391b
commit 814d5d3315
6 changed files with 23 additions and 2 deletions

View File

@ -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;