mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-04 04:16:57 +03:00
Use an owning QByteArray in ByteArraySink (#5050)
This commit is contained in:
commit
b114d043f6
70 changed files with 404 additions and 403 deletions
|
|
@ -183,8 +183,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