GH-352 Make OneSix instance update downloads cancellable
This commit is contained in:
parent
2f0441b3c1
commit
042f3ef55c
32 changed files with 796 additions and 360 deletions
|
@ -87,12 +87,12 @@ bool LegacyInstance::shouldUseCustomBaseJar() const
|
|||
}
|
||||
|
||||
|
||||
std::shared_ptr<Task> LegacyInstance::createUpdateTask()
|
||||
shared_qobject_ptr<Task> LegacyInstance::createUpdateTask()
|
||||
{
|
||||
// make sure the jar mods list is initialized by asking for it.
|
||||
auto list = jarModList();
|
||||
// create an update task
|
||||
return std::shared_ptr<Task>(new LegacyUpdate(this, this));
|
||||
return shared_qobject_ptr<Task>(new LegacyUpdate(this, this));
|
||||
}
|
||||
|
||||
std::shared_ptr<Task> LegacyInstance::createJarModdingTask()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue