Use an owning QByteArray in ByteArraySink (#5050)

This commit is contained in:
Alexandru Ionut Tripon 2026-03-02 16:53:22 +00:00 committed by GitHub
commit b114d043f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
70 changed files with 404 additions and 403 deletions

View file

@ -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;