Merge pull request #3019 from Trial97/task_parent
fixed double deletion for tasks
This commit is contained in:
commit
736ecf266d
56 changed files with 86 additions and 111 deletions
|
@ -730,7 +730,7 @@ bool loadIconFile(const Mod& mod, QPixmap* pixmap)
|
|||
} // namespace ModUtils
|
||||
|
||||
LocalModParseTask::LocalModParseTask(int token, ResourceType type, const QFileInfo& modFile)
|
||||
: Task(nullptr, false), m_token(token), m_type(type), m_modFile(modFile), m_result(new Result())
|
||||
: Task(false), m_token(token), m_type(type), m_modFile(modFile), m_result(new Result())
|
||||
{}
|
||||
|
||||
bool LocalModParseTask::abort()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue