Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWayland Integration
Commits
cc7e8a65
Commit
cc7e8a65
authored
May 13, 2021
by
Laurent Montel
😁
Browse files
Fix compile against kf5.82
parent
e879c065
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/idletime/poller.cpp
View file @
cc7e8a65
...
...
@@ -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
();
}
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment