Commit cc7e8a65 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix compile against kf5.82

parent e879c065
......@@ -136,7 +136,7 @@ void Poller::addTimeout(int nextTimeout)
m_timeouts.insert(nextTimeout, timeout);
connect(timeout, &KWayland::Client::IdleTimeout::idle, this,
[this, nextTimeout] {
emit timeoutReached(nextTimeout);
Q_EMIT timeoutReached(nextTimeout);
}
);
connect(timeout, &KWayland::Client::IdleTimeout::resumeFromIdle, this, &Poller::resumingFromIdle);
......@@ -170,7 +170,7 @@ void Poller::catchIdleEvent()
connect(m_catchResumeTimeout, &KWayland::Client::IdleTimeout::resumeFromIdle, this,
[this] {
stopCatchingIdleEvents();
emit resumingFromIdle();
Q_EMIT resumingFromIdle();
}
);
}
......
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