NOISSUE simplify.

This commit is contained in:
Petr Mrázek
2017-03-17 01:48:54 +01:00
parent 40cf38bc32
commit 0060b50625
21 changed files with 193 additions and 538 deletions

View File

@ -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();
}
}