mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-06 21:36:58 +03:00
fix: makeShared for QByteArray
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
6d5a2ceefe
commit
a83e5be8f2
2 changed files with 2 additions and 2 deletions
|
|
@ -1078,7 +1078,7 @@ void MainWindow::processURLs(QList<QUrl> urls)
|
|||
extra_info.insert("pack_id", addonId);
|
||||
extra_info.insert("pack_version_id", fileId);
|
||||
|
||||
auto array = new QByteArray();
|
||||
auto array = std::make_shared<QByteArray>();
|
||||
|
||||
auto api = FlameAPI();
|
||||
auto job = api.getFile(addonId, fileId, array);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue