NOISSUE sanitize loading and downloading of metadata files
This commit is contained in:
@ -16,9 +16,7 @@
|
||||
#include "Index.h"
|
||||
|
||||
#include "VersionList.h"
|
||||
#include "tasks/LocalLoadTask.h"
|
||||
#include "tasks/RemoteLoadTask.h"
|
||||
#include "format/Format.h"
|
||||
#include "JsonFormat.h"
|
||||
|
||||
namespace Meta
|
||||
{
|
||||
@ -78,15 +76,6 @@ QVariant Index::headerData(int section, Qt::Orientation orientation, int role) c
|
||||
}
|
||||
}
|
||||
|
||||
std::unique_ptr<Task> Index::remoteUpdateTask()
|
||||
{
|
||||
return std::unique_ptr<RemoteLoadTask>(new RemoteLoadTask(this));
|
||||
}
|
||||
std::unique_ptr<Task> Index::localUpdateTask()
|
||||
{
|
||||
return std::unique_ptr<LocalLoadTask>(new LocalLoadTask(this));
|
||||
}
|
||||
|
||||
bool Index::hasUid(const QString &uid) const
|
||||
{
|
||||
return m_uids.contains(uid);
|
||||
|
Reference in New Issue
Block a user