Commit fc20aacd authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Remvoe unneeded lambda

parent a75b330f
......@@ -414,9 +414,7 @@ StartServiceJob::StartServiceJob(const QString &process, const QStringList &args
m_args(args)
{
auto watcher = new QDBusServiceWatcher(serviceId, QDBusConnection::sessionBus(), QDBusServiceWatcher::WatchForRegistration, this);
connect(watcher, &QDBusServiceWatcher::serviceRegistered, this, [=]() {
emitResult();
});
connect(watcher, &QDBusServiceWatcher::serviceRegistered, this, &StartServiceJob::emitResult);
}
void StartServiceJob::start()
......
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