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:
parent
25d5babc68
commit
619df89f5f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user