mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Use an owning QByteArray in ByteArraySink
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
2b84053011
commit
316121ba8f
70 changed files with 397 additions and 390 deletions
|
|
@ -214,5 +214,6 @@ PasteUpload::PasteUpload(const QString& log, QString url, PasteType pasteType) :
|
|||
else
|
||||
m_url = m_baseUrl + base.endpointPath;
|
||||
|
||||
m_sink.reset(new Sink(this, m_output.get()));
|
||||
m_response = new QByteArray();
|
||||
m_sink.reset(new Sink(this, std::unique_ptr<QByteArray>{ m_response }));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue