Commit c038f4a5 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Fix lambda capture 'this' is not used

parent 0f642449
......@@ -114,7 +114,7 @@ void FileFilterHotSpot::activate(QObject *)
// CommandLauncherJob; no need to call job->setUrls() because the url is
// already part of editorCmd
auto *job = new KIO::ApplicationLauncherJob(service);
connect(job, &KJob::result, this, [this, path, job, openUrl]() {
connect(job, &KJob::result, this, [path, job, openUrl]() {
if (job->error()) {
// TODO: use KMessageWidget (like the "terminal is read-only" message)
KMessageBox::sorry(QApplication::activeWindow(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment