Commit bd4fa7d3 authored by Frederik Gladhorn's avatar Frederik Gladhorn
Browse files

Give connect to lambda a context object

Summary: This is cleaner since it will track the life-time.

Reviewers: broulik

Reviewed By: broulik

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent e4236e02
......@@ -116,7 +116,7 @@ bool ConfigOperation::exec()
QEventLoop loop;
connect(this, &ConfigOperation::finished,
connect(this, &ConfigOperation::finished, this,
[&](ConfigOperation *op) {
Supports Markdown
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