cache: behavior improvements

This commit is contained in:
itsmattkc
2022-06-06 09:39:09 -07:00
parent 25699ef05b
commit dfc401b63c
5 changed files with 29 additions and 17 deletions
+5
View File
@@ -79,6 +79,9 @@ public:
return QFontMetrics(QFont()).height()/4;
}
bool IsSavingEnabled() const { return saving_enabled_; }
void SetSavingEnabled(bool e) { saving_enabled_ = e; }
QMutex *mutex() { return &mutex_; }
public slots:
@@ -109,6 +112,8 @@ private:
QUuid uuid_;
bool saving_enabled_;
QMutex mutex_;
};