From 619df89f5f490190cc50e4048f0f4f253fcbdbeb Mon Sep 17 00:00:00 2001 From: Javier Llorente Date: Tue, 2 May 2023 20:13:43 +0200 Subject: [PATCH] Add missing parameter to lambda in init() --- .../KDEFrameworksIntegration/kdeframeworksintegrationplugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/KDEFrameworksIntegration/kdeframeworksintegrationplugin.cpp b/src/plugins/KDEFrameworksIntegration/kdeframeworksintegrationplugin.cpp index 5f6c18041..7c647903e 100644 --- a/src/plugins/KDEFrameworksIntegration/kdeframeworksintegrationplugin.cpp +++ b/src/plugins/KDEFrameworksIntegration/kdeframeworksintegrationplugin.cpp @@ -61,7 +61,7 @@ void KDEFrameworksIntegrationPlugin::init(InitState state, const QString &settin m_jobTracker = new KUiServerJobTracker(this); auto manager = mApp->downloadManager(); - connect(manager, &DownloadManager::downloadAdded, [=](DownloadItem *item) { + connect(manager, &DownloadManager::downloadAdded, this, [=](DownloadItem *item) { auto job = new DownloadKJob(item->url(), item->path(), item->fileName(), this); m_jobTracker->registerJob(job); job->start();