mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-01 10:56:57 +03:00
refactor!!!: migrate from shared pointers
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 549405ab2f)
This commit is contained in:
parent
7755e0def9
commit
e89ce1124a
199 changed files with 742 additions and 710 deletions
|
|
@ -178,7 +178,7 @@ void ResourceFolderModel::installResourceWithFlameMetadata(QString path, ModPlat
|
|||
};
|
||||
|
||||
auto response = std::make_shared<QByteArray>();
|
||||
auto job = FlameAPI().getProject(vers.addonId.toString(), response);
|
||||
auto job = FlameAPI().getProject(vers.addonId.toString(), response.get());
|
||||
connect(job.get(), &Task::failed, this, install);
|
||||
connect(job.get(), &Task::aborted, this, install);
|
||||
connect(job.get(), &Task::succeeded, [response, this, &vers, install, &pack] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue