1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

Add missing parameter to lambda in init()

This commit is contained in:
Javier Llorente 2023-05-02 20:13:43 +02:00 committed by Juraj Oravec
parent 25d5babc68
commit 619df89f5f

View File

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