NOISSUE simplify.
This commit is contained in:
parent
40cf38bc32
commit
0060b50625
21 changed files with 193 additions and 538 deletions
|
@ -24,19 +24,18 @@ BaseEntity::~BaseEntity()
|
|||
{
|
||||
}
|
||||
|
||||
void BaseEntity::store() const
|
||||
QUrl BaseEntity::url() const
|
||||
{
|
||||
Json::write(serialized(), Meta::localDir().absoluteFilePath(localFilename()));
|
||||
return rootUrl().resolved(localFilename());
|
||||
}
|
||||
|
||||
void BaseEntity::notifyLocalLoadComplete()
|
||||
{
|
||||
m_localLoaded = true;
|
||||
store();
|
||||
}
|
||||
|
||||
void BaseEntity::notifyRemoteLoadComplete()
|
||||
{
|
||||
m_remoteLoaded = true;
|
||||
store();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue