GH-352 Make OneSix instance update downloads cancellable
This commit is contained in:
@ -60,9 +60,9 @@ QSet<QString> OneSixInstance::traits()
|
||||
}
|
||||
}
|
||||
|
||||
std::shared_ptr<Task> OneSixInstance::createUpdateTask()
|
||||
shared_qobject_ptr<Task> OneSixInstance::createUpdateTask()
|
||||
{
|
||||
return std::shared_ptr<Task>(new OneSixUpdate(this));
|
||||
return shared_qobject_ptr<Task>(new OneSixUpdate(this));
|
||||
}
|
||||
|
||||
QString replaceTokensIn(QString text, QMap<QString, QString> with)
|
||||
|
Reference in New Issue
Block a user