mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-06 13:26:58 +03:00
Use an owning QByteArray in ByteArraySink
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
(cherry picked from commit 316121ba8f)
This commit is contained in:
parent
d4e5c0f95b
commit
4e4990bf8d
66 changed files with 367 additions and 365 deletions
|
|
@ -184,8 +184,7 @@ bool FlameCreationTask::updateInstance()
|
|||
fileIds.append(QString::number(file.fileId));
|
||||
}
|
||||
|
||||
auto raw_response = std::make_shared<QByteArray>();
|
||||
auto job = api.getFiles(fileIds, raw_response.get());
|
||||
auto [job, raw_response] = api.getFiles(fileIds);
|
||||
|
||||
QEventLoop loop;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue