NOISSUE hack it together enough to get launching back
Meta index will now always return valid objects. They just might never load if they don't exist on the server.
This commit is contained in:
parent
e46aba9da5
commit
2660418d58
12 changed files with 162 additions and 58 deletions
|
@ -137,4 +137,13 @@ void Meta::BaseEntity::load()
|
|||
m_updateTask->start();
|
||||
}
|
||||
|
||||
shared_qobject_ptr<Task> Meta::BaseEntity::getCurrentTask()
|
||||
{
|
||||
if(m_updateStatus == UpdateStatus::InProgress)
|
||||
{
|
||||
return m_updateTask;
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
#include "BaseEntity.moc"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue