Add Q_ENUM to the Table::Status (makes debugging easier) (#101)
This commit is contained in:
parent
39ec6de315
commit
a3d9d0a1e0
|
|
@ -51,6 +51,7 @@ public:
|
|||
Modified,
|
||||
Deleted
|
||||
};
|
||||
Q_ENUM(Status)
|
||||
|
||||
int save(Database *db);
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ public:
|
|||
|
||||
|
||||
TableModel *model;
|
||||
int status;
|
||||
Table::Status status;
|
||||
QSet<QString> changedProperties;
|
||||
TableSetBase *parentTableSet;
|
||||
QSet<TableSetBase*> childTableSets;
|
||||
|
|
|
|||
Loading…
Reference in New Issue