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
DrKonqi
Commits
8e804a7c
Commit
8e804a7c
authored
Oct 29, 2020
by
Laurent Montel
😁
Browse files
Don't use deprecated signal
parent
ed18a6be
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/statusnotifier.cpp
View file @
8e804a7c
...
...
@@ -111,7 +111,7 @@ void StatusNotifier::show()
// make sure the user doesn't miss the SNI by stopping the auto hide timer when the session becomes idle
int
idleId
=
KIdleTime
::
instance
()
->
addIdleTimeout
(
30000
);
connect
(
KIdleTime
::
instance
(),
static_cast
<
void
(
KIdleTime
::*
)(
int
)
>
(
&
KIdleTime
::
timeoutReached
),
this
,
[
this
,
idleId
](
int
id
)
{
connect
(
KIdleTime
::
instance
(),
static_cast
<
void
(
KIdleTime
::*
)(
int
,
int
)
>
(
&
KIdleTime
::
timeoutReached
),
this
,
[
this
,
idleId
](
int
id
)
{
if
(
idleId
==
id
)
{
m_autoCloseTimer
->
stop
();
}
...
...
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