closes #4: Favorite buttons has been extended with category buttons.

This commit is contained in:
2023-05-17 21:31:32 +02:00
parent 5b5f31f64d
commit 5b77337b3f
33 changed files with 596 additions and 106 deletions
+2 -2
View File
@@ -58,7 +58,7 @@ public:
return ret;
}
void save(QSharedPointer<T> entity, qx::QxSession* pSession = nullptr) {
virtual void save(QSharedPointer<T> entity, qx::QxSession* pSession = nullptr) {
if (!checkPermission(PERM_ADD)) {
return;
}
@@ -83,7 +83,7 @@ public:
emit dataChanged();
}
void update(QSharedPointer<T> entity, qx::QxSession* pSession = nullptr) {
virtual void update(QSharedPointer<T> entity, qx::QxSession* pSession = nullptr) {
if (!checkPermission(PERM_EDIT)) {
return;
}