aboutsummaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
authorflow <flowlnlnln@gmail.com>2022-12-15 04:47:56 -0800
committerGitHub <noreply@github.com>2022-12-15 04:47:56 -0800
commit4f1ea712da46e34a6a1bd75ac68b080bac786462 (patch)
tree870ea91c825160d6cba7d0809537f2ee876c8c0d /launcher
parentd193ed9eebb392b259edb88a227dce4cee773df6 (diff)
parent756d933d1a5ed621a4681bbd3711d70768d84ad9 (diff)
downloadPrismLauncher-4f1ea712da46e34a6a1bd75ac68b080bac786462.tar.gz
PrismLauncher-4f1ea712da46e34a6a1bd75ac68b080bac786462.tar.bz2
PrismLauncher-4f1ea712da46e34a6a1bd75ac68b080bac786462.zip
Merge pull request #605 from flowln/fix_crash_in_downloader_image
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/590
Diffstat (limited to 'launcher')
-rw-r--r--launcher/ui/widgets/VariableSizedImageObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/widgets/VariableSizedImageObject.cpp b/launcher/ui/widgets/VariableSizedImageObject.cpp
index e57f7e95..991b4a04 100644
--- a/launcher/ui/widgets/VariableSizedImageObject.cpp
+++ b/launcher/ui/widgets/VariableSizedImageObject.cpp
@@ -101,7 +101,7 @@ void VariableSizedImageObject::loadImage(QTextDocument* doc, const QUrl& source,
auto full_entry_path = entry->getFullPath();
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;
// If we flushed, don't proceed.