Add Q_ENUM to the Table::Status (makes debugging easier) (#101)

This commit is contained in:
Miklós Márton 2020-07-27 15:43:36 +02:00 committed by GitHub
parent 39ec6de315
commit a3d9d0a1e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -51,6 +51,7 @@ public:
Modified,
Deleted
};
Q_ENUM(Status)
int save(Database *db);

View File

@ -20,7 +20,7 @@ public:
TableModel *model;
int status;
Table::Status status;
QSet<QString> changedProperties;
TableSetBase *parentTableSet;
QSet<TableSetBase*> childTableSets;