NOISSUE Revert all recent changes to NetAction and NetJob
This commit is contained in:
parent
0efa714ba5
commit
e76e6329cd
45 changed files with 356 additions and 338 deletions
|
@ -10,7 +10,7 @@ AssetUpdateTask::AssetUpdateTask(OneSixInstance * inst)
|
|||
}
|
||||
void AssetUpdateTask::executeTask()
|
||||
{
|
||||
setStatusText(tr("Updating assets index..."));
|
||||
setStatus(tr("Updating assets index..."));
|
||||
auto profile = m_inst->getMinecraftProfile();
|
||||
auto assets = profile->getMinecraftAssets();
|
||||
QUrl indexUrl = assets->url;
|
||||
|
@ -63,7 +63,7 @@ void AssetUpdateTask::assetIndexFinished()
|
|||
auto job = index.getDownloadJob();
|
||||
if(job)
|
||||
{
|
||||
setStatusText(tr("Getting the assets files from Mojang..."));
|
||||
setStatus(tr("Getting the assets files from Mojang..."));
|
||||
downloadJob = job;
|
||||
connect(downloadJob.get(), &NetJob::succeeded, this, &AssetUpdateTask::emitSucceeded);
|
||||
connect(downloadJob.get(), &NetJob::failed, this, &AssetUpdateTask::assetsFailed);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue