Merge pull request #605 from flowln/fix_crash_in_downloader_image
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/590
This commit is contained in:
commit
4f1ea712da
@ -101,7 +101,7 @@ void VariableSizedImageObject::loadImage(QTextDocument* doc, const QUrl& source,
|
|||||||
|
|
||||||
auto full_entry_path = entry->getFullPath();
|
auto full_entry_path = entry->getFullPath();
|
||||||
auto source_url = source;
|
auto source_url = source;
|
||||||
connect(job, &NetJob::succeeded, [this, doc, full_entry_path, source_url, posInDocument] {
|
connect(job, &NetJob::succeeded, this, [this, doc, full_entry_path, source_url, posInDocument] {
|
||||||
qDebug() << "Loaded resource at" << full_entry_path;
|
qDebug() << "Loaded resource at" << full_entry_path;
|
||||||
|
|
||||||
// If we flushed, don't proceed.
|
// If we flushed, don't proceed.
|
||||||
|
Loading…
Reference in New Issue
Block a user