refactor+fix: add new tests for Resource models and fix issues
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
e7cf9932a9
commit
c3ceefbafb
9 changed files with 314 additions and 159 deletions
|
@ -20,6 +20,9 @@ public:
|
|||
return m_result;
|
||||
}
|
||||
|
||||
[[nodiscard]] bool canAbort() const override { return true; }
|
||||
bool abort() override;
|
||||
|
||||
LocalModParseTask(int token, ResourceType type, const QFileInfo & modFile);
|
||||
void executeTask() override;
|
||||
|
||||
|
@ -35,4 +38,6 @@ private:
|
|||
ResourceType m_type;
|
||||
QFileInfo m_modFile;
|
||||
ResultPtr m_result;
|
||||
|
||||
bool m_aborted = false;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue